summaryrefslogtreecommitdiff
path: root/qt4/examples/accounts/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt4/examples/accounts/main.cpp')
-rw-r--r--qt4/examples/accounts/main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/qt4/examples/accounts/main.cpp b/qt4/examples/accounts/main.cpp
new file mode 100644
index 000000000..a21b62c1e
--- /dev/null
+++ b/qt4/examples/accounts/main.cpp
@@ -0,0 +1,21 @@
+#include <TelepathyQt4/Debug>
+#include <TelepathyQt4/Constants>
+#include <TelepathyQt4/Types>
+
+#include <QtGui>
+
+#include "accounts-window.h"
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+
+ Tp::registerTypes();
+ Tp::enableDebug(true);
+ Tp::enableWarnings(true);
+
+ AccountsWindow w;
+ w.show();
+
+ return app.exec();
+}