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

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/kxt/appview.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}VIEW_H_
 
4
#define _%{APPNAMEUC}VIEW_H_
 
5
 
 
6
#include <qwidget.h>
 
7
 
 
8
#include "%{APPNAMELC}view_base.h"
 
9
 
 
10
class QPainter;
 
11
class KURL;
 
12
 
 
13
/**
 
14
 * This is the main view class for %{APPNAME}.  Most of the non-menu,
 
15
 * non-toolbar, and non-statusbar (e.g., non frame) GUI code should go
 
16
 * here.
 
17
 *
 
18
 * @short Main view
 
19
 * @author %{AUTHOR} <%{EMAIL}>
 
20
 * @version %{VERSION}
 
21
 */
 
22
class %{APPNAMELC}View : public %{APPNAMELC}view_base
 
23
{
 
24
    Q_OBJECT
 
25
public:
 
26
        /**
 
27
         * Default constructor
 
28
         */
 
29
    %{APPNAMELC}View(QWidget *parent);
 
30
 
 
31
        /**
 
32
         * Destructor
 
33
         */
 
34
    virtual ~%{APPNAMELC}View();
 
35
 
 
36
signals:
 
37
    /**
 
38
     * Use this signal to change the content of the statusbar
 
39
     */
 
40
    void signalChangeStatusbar(const QString& text);
 
41
 
 
42
    /**
 
43
     * Use this signal to change the content of the caption
 
44
     */
 
45
    void signalChangeCaption(const QString& text);
 
46
 
 
47
private slots:
 
48
    void switchColors();
 
49
    void settingsChanged();
 
50
};
 
51
 
 
52
#endif // _%{APPNAMEUC}VIEW_H_