Home · Modules · All Classes · All Namespaces
roster/main.cpp
#include <TelepathyQt/Debug>
#include <TelepathyQt/Types>
#include <QApplication>
#include <QDebug>
#include <QtGui>
#include "roster-window.h"
int main(int argc, char **argv)
{
QApplication app(argc, argv);
if (argc < 2) {
qDebug() << "usage:" << argv[0] << "<account name, as in mc-tool list>";
return 1;
}
QString accountPath = QLatin1String(argv[1]);
RosterWindow w(accountPath);
w.show();
return app.exec();
}
Tp::enableWarnings
void enableWarnings(bool enable)
Definition: debug.cpp:163
Tp::registerTypes
void registerTypes()
Definition: types.cpp:42
Tp::enableDebug
void enableDebug(bool enable)
Definition: debug.cpp:159