summaryrefslogtreecommitdiffstats
path: root/kdict/application.h
blob: e5d46c67b1bc3f9923f067f80fdb1058ae6b0712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* -------------------------------------------------------------

   application.h (part of The KDE Dictionary Client)

   Copyright (C) 2000-2001 Christian Gebauer <[email protected]>

   This file is distributed under the Artistic License.
   See LICENSE for details.

 ------------------------------------------------------------- */

#ifndef APPLICATION_H
#define APPLICATION_H

#include <kuniqueapplication.h>
#include <tqguardedptr.h>

#define KDICT_VERSION "0.6"

class TopLevel;

class Application : public KUniqueApplication
{
  Q_OBJECT

  public:
    Application();
    ~Application();

    /** Create new instance of Kdict. Make the existing
        main window active if Kdict is already running */
    int newInstance();

  private:
    TQGuardedPtr<TopLevel> m_mainWindow;

};

#endif