summaryrefslogtreecommitdiffstats
path: root/kdict/application.h
blob: b91e9800da32b27324b9ead2837e6ccd4353ba05 (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
40
/* -------------------------------------------------------------

   application.h (part of The KDE Dictionary Client)

   Copyright (C) 2000-2001 Christian Gebauer <gebauer@kde.org>

   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