main.cpp File Reference

#include <QApplication>
#include "qonsole.h"
#include <unistd.h>

Include dependency graph for main.cpp:

Go to the source code of this file.

Defines

#define BBOB_MEDIA_DIR   "./media"
#define BBOB_PLUGINS_DIR   "./plugins"

Functions

void myMessageOutput (QtMsgType type, const char *msg)
 Custon handling of application messages.
int main (int argc, char *argv[])
 Qonsole class loading.

Variables

Qonsolewin = 0
bool DEBUG = false
QString DebugBuffer
char * optarg
int optind
int opterr


Define Documentation

#define BBOB_MEDIA_DIR   "./media"

Definition at line 14 of file main.cpp.

#define BBOB_PLUGINS_DIR   "./plugins"

Definition at line 15 of file main.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Qonsole class loading.

Definition at line 107 of file main.cpp.

References QString::append(), Args, DEBUG, QApplication::exec(), QSplashScreen::finish(), Qonsole::LoadDebug(), myMessageOutput(), optarg, opterr, and QApplication::setStyle().

Here is the call graph for this function:

void myMessageOutput ( QtMsgType  type,
const char *  msg 
)

Custon handling of application messages.

Special handling of messages like qWarning(), qDebug(), qCritical(), and qFatal()

Definition at line 29 of file main.cpp.

References DebugDialog::addLine(), QMessageBox::critical(), DEBUG, Qonsole::DebugWindow, and QMainWindow::statusBar().

Here is the call graph for this function:


Variable Documentation

bool DEBUG = false

Definition at line 20 of file main.cpp.

Referenced by main(), and myMessageOutput().

QString DebugBuffer

Definition at line 23 of file main.cpp.

char* optarg

Referenced by main().

int opterr

Referenced by main().

int optind

Qonsole* win = 0

Definition at line 17 of file main.cpp.


Generated on Sun Oct 28 22:51:33 2007 for BBoB by  doxygen 1.5.3