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

okteta

  • sources
  • kde-4.12
  • kdesdk
  • okteta
  • program
program/mainwindow.h
Go to the documentation of this file.
1 /*
2  This file is part of the Okteta program, made within the KDE community.
3 
4  Copyright 2006-2008 Friedrich W. H. Kossebau <kossebau@kde.org>
5 
6  This program is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public License as
8  published by the Free Software Foundation; either version 2 of
9  the License or (at your option) version 3 or any later version
10  accepted by the membership of KDE e.V. (or its successor approved
11  by the membership of KDE e.V.), which shall act as a proxy
12  defined in Section 14 of version 3 of the license.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
23 #ifndef OKTETAMAINWINDOW_H
24 #define OKTETAMAINWINDOW_H
25 
26 // Kasten gui
27 #include <shellwindow.h>
28 
29 template<class T> class QList;
30 class QMimeData;
31 
32 
33 namespace Kasten2
34 {
35 
36 class OktetaProgram;
37 class DocumentManager;
38 
39 
40 class OktetaMainWindow : public ShellWindow
41 {
42  Q_OBJECT
43 
44  public:
45  explicit OktetaMainWindow( OktetaProgram* program );
46  virtual ~OktetaMainWindow();
47 
48  protected: // KMainWindow API
49  virtual bool queryClose();
50 
51  virtual void saveProperties( KConfigGroup& configGroup );
52  virtual void readProperties( const KConfigGroup& configGroup );
53 
54  protected:
55  void setupControllers();
56 
57  protected Q_SLOTS:
58  void onDataOffered( const QMimeData* mimeData, bool& accept );
59  void onDataDropped( const QMimeData* mimeData );
60  void onCloseRequest( const QList<Kasten2::AbstractView*>& views );
61 
62  protected:
63  OktetaProgram* mProgram;
64 };
65 
66 }
67 
68 #endif
shellwindow.h
Kasten2::OktetaMainWindow::onDataOffered
void onDataOffered(const QMimeData *mimeData, bool &accept)
Definition: program/mainwindow.cpp:273
Kasten2::OktetaMainWindow::OktetaMainWindow
OktetaMainWindow(OktetaProgram *program)
Definition: mobile/program/mainwindow.cpp:102
Kasten2::OktetaMainWindow::readProperties
virtual void readProperties(const KConfigGroup &configGroup)
Definition: mobile/program/mainwindow.cpp:186
Kasten2::OktetaMainWindow::queryClose
virtual bool queryClose()
Definition: program/mainwindow.cpp:236
Kasten2::OktetaMainWindow::~OktetaMainWindow
virtual ~OktetaMainWindow()
Definition: mobile/program/mainwindow.cpp:206
Kasten2::OktetaMainWindow::onCloseRequest
void onCloseRequest(const QList< Kasten2::AbstractView * > &views)
Definition: program/mainwindow.cpp:295
Kasten2::OktetaMainWindow::mProgram
OktetaProgram * mProgram
Definition: mobile/program/mainwindow.h:52
Kasten2::OktetaMainWindow::saveProperties
virtual void saveProperties(KConfigGroup &configGroup)
Definition: mobile/program/mainwindow.cpp:178
Kasten2::OktetaMainWindow::setupControllers
void setupControllers()
Definition: mobile/program/mainwindow.cpp:118
Kasten2::OktetaMainWindow::onDataDropped
void onDataDropped(const QMimeData *mimeData)
Definition: program/mainwindow.cpp:279
QList
Definition: bookmarkable.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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