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

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/kconfig35/appview.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}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_