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

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/qmakeapp/qmakeapp.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

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
#include <qmainwindow.h>
 
7
 
 
8
class QTextEdit;
 
9
 
 
10
class %{APPNAME}: public QMainWindow
 
11
{
 
12
    Q_OBJECT
 
13
 
 
14
public:
 
15
    %{APPNAME}();
 
16
    ~%{APPNAME}();
 
17
 
 
18
protected:
 
19
    void closeEvent( QCloseEvent* );
 
20
 
 
21
private slots:
 
22
    void newDoc();
 
23
    void choose();
 
24
    void load( const QString &fileName );
 
25
    void save();
 
26
    void saveAs();
 
27
    void print();
 
28
 
 
29
    void about();
 
30
    void aboutQt();
 
31
 
 
32
private:
 
33
    QPrinter *printer;
 
34
    QTextEdit *e;
 
35
    QString filename;
 
36
};
 
37
 
 
38
 
 
39
#endif