Add common code for buddy icon retrieving and remove the old one.
[kdenetwork.git] / kdict / application.h
blob5c2793a7ee8e55716888169131f83aeafc43ca9b
1 /* -------------------------------------------------------------
3 application.h (part of The KDE Dictionary Client)
5 Copyright (C) 2000-2001 Christian Gebauer <gebauer@kde.org>
7 This file is distributed under the Artistic License.
8 See LICENSE for details.
10 ------------------------------------------------------------- */
12 #ifndef APPLICATION_H
13 #define APPLICATION_H
15 #include <kuniqueapplication.h>
16 #include <qpointer.h>
18 #define KDICT_VERSION "0.6"
20 class TopLevel;
22 class Application : public KUniqueApplication
24 Q_OBJECT
26 public:
27 Application();
28 ~Application();
30 /** Create new instance of Kdict. Make the existing
31 main window active if Kdict is already running */
32 int newInstance();
34 private:
35 QPointer<TopLevel> m_mainWindow;
39 #endif