html.h File Reference

HTML formatting functions. More...

#include <QString>

Go to the source code of this file.

Functions

QString p (QString str)
QString i (QString str)
QString b (QString str)
QString trow (QString str)
QString tcol (QString str)
QString thead (QString str)
QString escape (QString str)


Detailed Description

HTML formatting functions.

Version:
Id
html.h 1238 2006-09-25 17:50:57Z edmanm

Definition in file html.h.


Function Documentation

QString b ( QString  str  ) 

Wraps a string in "<b>" tags.

Definition at line 51 of file html.cpp.

Referenced by RouterDescriptorView::display(), and RouterListItem::operator<().

QString escape ( QString  str  ) 

Escapes "<" and ">" characters in the given string.

Definition at line 79 of file html.cpp.

QString i ( QString  str  ) 

Wraps a string in "<i>" tags.

Definition at line 44 of file html.cpp.

Referenced by TorMapWidget::addCircuit(), ServerPage::addPolicyItem(), char_array_to_stringlist(), CircuitListWidget::circuits(), ControlConnection::connect(), TrayIconImpl::createIconFromFile(), RouterDescriptorView::display(), ZImageView::drawScaledImage(), ensure_valid_chars(), CircuitListWidget::findCircuitItem(), CircuitListWidget::findStreamItem(), HelpBrowser::findTopicItem(), TorEvents::handleCircuitStatus(), TorEvents::handleLogMessage(), TorEvents::handleStreamStatus(), TorProcess::onReadyRead(), GraphFrame::paintIntegral(), GraphFrame::paintLine(), GraphFrame::paintScale(), Vidalia::parseArguments(), TorEvents::parseEventType(), TorEvents::remove(), ExitPolicy::removePolicy(), ServerPage::save(), HelpBrowser::search(), GeoIpRequest::setRequest(), LogTreeItem::setSeverity(), GeoIp::toLocation(), and ControlCommand::toString().

QString p ( QString  str  ) 

Wraps a string in "<p>" tags, converts "\n" to "<br/>" and converts "\n\n" to a new paragraph.

Definition at line 34 of file html.cpp.

Referenced by MainWindow::connected(), MainWindow::connectFailed(), ExitPolicy::contains(), VMessageBox::critical(), RouterDescriptorView::display(), ZImageView::drawScaledImage(), MessageLog::find(), ServerPage::getServerPublicIP(), VMessageBox::information(), MainWindow::initiateServerShutdown(), VMessageBox::question(), MessageLog::registerLogEvents(), MessageLog::rotateLogFile(), MessageLog::save(), MainWindow::stop(), and VMessageBox::warning().

QString tcol ( QString  str  ) 

Wraps a string in "<td>" tags.

Definition at line 65 of file html.cpp.

Referenced by RouterDescriptorView::display().

QString thead ( QString  str  ) 

Wraps a string in "<th>" tags.

Definition at line 72 of file html.cpp.

QString trow ( QString  str  ) 

Wraps a string in "<tr>" tags.

Definition at line 58 of file html.cpp.

Referenced by RouterDescriptorView::display().


Generated on Mon Oct 23 20:08:16 2006 for Vidalia by  doxygen 1.5.0