Home · All Classes · All Namespaces · Modules · Functions · Files
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();
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7