• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kapptemplate

  • sources
  • kde-4.12
  • kdesdk
  • kapptemplate
  • templates
  • C++
  • kapp4
  • src
kapp4/src/%{APPNAMELC}.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) %{CURRENT_YEAR} by %{AUTHOR} <%{EMAIL}> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
18  ***************************************************************************/
19 
20 #ifndef %{APPNAMEUC}_H
21 #define %{APPNAMEUC}_H
22 
23 
24 #include <KXmlGuiWindow>
25 
26 #include "ui_prefs_base.h"
27 
28 class %{APPNAME}View;
29 class QPrinter;
30 class KToggleAction;
31 class KUrl;
32 
41 class %{APPNAME} : public KXmlGuiWindow
42 {
43  Q_OBJECT
44 public:
48  %{APPNAME}();
49 
53  virtual ~%{APPNAME}();
54 
55 private slots:
56  void fileNew();
57  void optionsPreferences();
58 
59 private:
60  void setupActions();
61 
62 private:
63  Ui::prefs_base ui_prefs_base ;
64  %{APPNAME}View *m_view;
65 
66  QPrinter *m_printer;
67  KToggleAction *m_toolbarAction;
68  KToggleAction *m_statusbarAction;
69 };
70 
71 #endif // _%{APPNAMEUC}_H_
m_toolbarAction
KToggleAction * m_toolbarAction
Definition: kapp4/src/%{APPNAMELC}.h:67
m_statusbarAction
KToggleAction * m_statusbarAction
Definition: kapp4/src/%{APPNAMELC}.h:68
ui_prefs_base
Ui::prefs_base ui_prefs_base
Definition: kapp4/src/%{APPNAMELC}.h:63
m_printer
QPrinter * m_printer
Definition: kapp4/src/%{APPNAMELC}.h:64
m_view
m_view(new%{APPNAME}View(this))
View
class SettingsHelper View
APPNAME
class @5 APPNAME()
This class serves as the main window for %{APPNAME}.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kapptemplate

Skip menu "kapptemplate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal