vidalia.h File Reference

#include <QApplication>
#include <QMap>
#include <QString>
#include <QKeySequence>
#include <log.h>
#include <vidaliasettings.h>
#include <torcontrol.h>
#include "config.h"

Go to the source code of this file.

Classes

class  Vidalia

Defines

#define vApp   ((Vidalia *)qApp)
#define vDebug(fmt)   (vApp->log(Log::Debug, (fmt)))
#define vInfo(fmt)   (vApp->log(Log::Info, (fmt)))
#define vNotice(fmt)   (vApp->log(Log::Notice, (fmt)))
#define vWarn(fmt)   (vApp->log(Log::Warn, (fmt)))
#define vError(fmt)   (vApp->log(Log::Error, (fmt)))


Define Documentation

#define vApp   ((Vidalia *)qApp)

Pointer to this Vidalia application instance.

Definition at line 37 of file vidalia.h.

Referenced by CircuitListWidget::CircuitListWidget(), ServerPage::copyBridgeIdentity(), NetworkPage::copySelectedBridgesToClipboard(), RouterDescriptorView::copySelectedText(), main(), MainWindow::MainWindow(), NetworkPage::NetworkPage(), VClickLabel::paintEvent(), Vidalia::run(), VidaliaWindow::setShortcut(), and LanguageSupport::translate().

#define vDebug ( fmt   )     (vApp->log(Log::Debug, (fmt)))

Definition at line 39 of file vidalia.h.

Referenced by MainWindow::loadControlCookie(), and Vidalia::qt_msg_handler().

#define vError ( fmt   )     (vApp->log(Log::Error, (fmt)))

Definition at line 43 of file vidalia.h.

Referenced by main(), and Vidalia::qt_msg_handler().

#define vInfo ( fmt   )     (vApp->log(Log::Info, (fmt)))

Definition at line 40 of file vidalia.h.

Referenced by GeoIpResolver::connected(), UPNPControlThread::disablePort(), GeoIpResolver::disconnected(), UPNPControlThread::forwardPort(), UPNPControlThread::initializeUPNP(), MainWindow::loadControlCookie(), NetViewer::resolve(), GeoIpResolver::resolve(), and GeoIpResolver::resolveFromCache().

#define vNotice ( fmt   )     (vApp->log(Log::Notice, (fmt)))

Definition at line 41 of file vidalia.h.

Referenced by MainWindow::authenticate(), main(), Vidalia::qt_msg_handler(), and MainWindow::updateTorStatus().

#define vWarn ( fmt   )     (vApp->log(Log::Warn, (fmt)))

Definition at line 42 of file vidalia.h.

Referenced by MainWindow::authenticate(), MainWindow::authenticationFailed(), UPNPControlThread::disablePort(), GeoIpResolver::disconnected(), UPNPControlThread::forwardPort(), GeoIpResolver::GeoIpResolver(), UPNPControlThread::initializeUPNP(), MainWindow::loadControlCookie(), main(), Vidalia::qt_msg_handler(), GeoIpResolver::socketError(), and UPNPControlThread::updatePort().


Generated on Tue Jul 7 17:00:56 2009 for Vidalia by  doxygen 1.4.7