• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • tools
  • debugger
main.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2011 Collabora Ltd. <info@collabora.com>
3  @author George Kiagiadakis <george.kiagiadakis@collabora.com>
4 
5  This library is free software; you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published
7  by the Free Software Foundation; either version 2.1 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #include "main-window.h"
20 #include "version.h"
21 
22 #include <KAboutData>
23 #include <KCmdLineArgs>
24 #include <KApplication>
25 #include <TelepathyQt/Debug>
26 #include <TelepathyQt/Types>
27 
28 int main(int argc, char **argv)
29 {
30  KAboutData aboutData("ktp-debugger", 0,
31  ki18n("KDE Telepathy Debug Tool"),
32  KTP_VERSION,
33  ki18n("Tool for inspecting logs of the various underlying telepathy components"),
34  KAboutData::License_LGPL,
35  ki18n("Copyright (C) 2011 Collabora Ltd."));
36  aboutData.addAuthor(ki18n("George Kiagiadakis"), ki18n("Developer"),
37  "george.kiagiadakis@collabora.com");
38 
39  KCmdLineArgs::init(argc, argv, &aboutData);
40  KApplication app;
41 
42  Tp::registerTypes();
43  Tp::enableDebug(true);
44  Tp::enableWarnings(true);
45 
46  MainWindow *mw = new MainWindow;
47  mw->show();
48 
49  return app.exec();
50 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal