~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/kconfig35/app.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%{H_TEMPLATE}
2
 
 
3
 
#ifndef _%{APPNAMEUC}_H_
4
 
#define _%{APPNAMEUC}_H_
5
 
 
6
 
#ifdef HAVE_CONFIG_H
7
 
#include <config.h>
8
 
#endif
9
 
 
10
 
#include <kapplication.h>
11
 
#include <kmainwindow.h>
12
 
 
13
 
#include "%{APPNAMELC}view.h"
14
 
 
15
 
class KPrinter;
16
 
class KURL;
17
 
 
18
 
/**
19
 
 * This class serves as the main window for %{APPNAME}.  It handles the
20
 
 * menus, toolbars, and status bars.
21
 
 *
22
 
 * @short Main window class
23
 
 * @author %{AUTHOR} <%{EMAIL}>
24
 
 * @version %{VERSION}
25
 
 */
26
 
class %{APPNAMELC} : public KMainWindow
27
 
{
28
 
    Q_OBJECT
29
 
public:
30
 
    /**
31
 
     * Default Constructor
32
 
     */
33
 
    %{APPNAMELC}();
34
 
 
35
 
    /**
36
 
     * Default Destructor
37
 
     */
38
 
    virtual ~%{APPNAMELC}();
39
 
 
40
 
private slots:
41
 
 
42
 
    void fileNew();
43
 
    void optionsPreferences();
44
 
    void newToolbarConfig();
45
 
 
46
 
    void changeStatusbar(const QString& text);
47
 
    void changeCaption(const QString& text);
48
 
 
49
 
private:
50
 
 
51
 
    void setupActions();
52
 
 
53
 
private:
54
 
    %{APPNAMELC}View *m_view;
55
 
 
56
 
    KPrinter   *m_printer;
57
 
};
58
 
 
59
 
#endif // _%{APPNAMEUC}_H_
60