vidalia.h File Reference

Main Vidalia QApplication object. More...

#include <QApplication>
#include <QMap>
#include <QString>
#include <util/log.h>
#include <gui/help/browser/helpbrowser.h>
#include <config/vidaliasettings.h>
#include <control/torcontrol.h>

Go to the source code of this file.

Classes

class  Vidalia

Defines

#define VIDALIA_VERSION   "0.0.14"
#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)))


Detailed Description

Main Vidalia QApplication object.

Version:
Id

Definition in file vidalia.h.


Define Documentation

#define vApp   ((Vidalia *)qApp)

Pointer to this Vidalia application instance.

Definition at line 49 of file vidalia.h.

Referenced by MainWindow::createActions(), main(), MainWindow::MainWindow(), and LanguageSupport::translate().

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

Definition at line 51 of file vidalia.h.

Referenced by ControlConnection::connect(), MainWindow::loadControlCookie(), ControlConnection::onReadyRead(), Vidalia::qt_msg_handler(), and ControlConnection::run().

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

Definition at line 55 of file vidalia.h.

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

#define VIDALIA_VERSION   "0.0.14"

Vidalia's version string

Definition at line 46 of file vidalia.h.

Referenced by Vidalia::version().

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

Definition at line 52 of file vidalia.h.

Referenced by AddressMap::add(), ControlConnection::connect(), MainWindow::loadControlCookie(), NetViewer::loadDescriptors(), ControlConnection::onReadyRead(), NetViewer::resolve(), and ControlSocket::sendCommand().

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

Definition at line 53 of file vidalia.h.

Referenced by MainWindow::authenticate(), ControlSocket::connect(), ControlConnection::connect(), TorService::install(), main(), Vidalia::qt_msg_handler(), TorService::remove(), TorService::start(), TorProcess::start(), TorService::stop(), TorProcess::stop(), and MainWindow::updateTorStatus().

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

Definition at line 54 of file vidalia.h.

Referenced by MainWindow::authenticate(), MainWindow::authenticationFailed(), ControlSocket::connect(), ControlConnection::connect(), ControlSocket::disconnect(), TorService::install(), MainWindow::loadControlCookie(), main(), TorProcess::onError(), ControlConnection::onReadyRead(), Vidalia::qt_msg_handler(), TorService::remove(), ControlConnection::send(), TorService::start(), TorService::stop(), and TorProcess::stop().


Generated on Wed Sep 5 15:49:28 2007 for Vidalia by  doxygen 1.5.3