• 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/program.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-2007,2011 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 OKTETAPROGRAM_H
24 #define OKTETAPROGRAM_H
25 
26 // program
27 #include "about.h"
28 
29 
30 namespace Kasten2
31 {
32 
33 class DialogHandler;
34 class DocumentManager;
35 class ViewManager;
36 class MultiDocumentStrategy;
37 // tmp
38 class ByteArrayViewProfileManager;
39 
40 
41 class OktetaProgram
42 {
43  public:
44  OktetaProgram( int argc, char* argv[] );
45  ~OktetaProgram();
46 
47  public:
48  int execute();
49  void quit();
50 
51  public:
52  DocumentManager* documentManager();
53  ViewManager* viewManager();
54  MultiDocumentStrategy* documentStrategy();
55  ByteArrayViewProfileManager* byteArrayViewProfileManager();
56 
57  protected:
58  OktetaAboutData mAboutData;
59 
60  DocumentManager* mDocumentManager;
61  ViewManager* mViewManager;
62  MultiDocumentStrategy* mDocumentStrategy;
63 
64  DialogHandler* mDialogHandler;
65 
66  ByteArrayViewProfileManager* mByteArrayViewProfileManager;
67 };
68 
69 
70 inline DocumentManager* OktetaProgram::documentManager() { return mDocumentManager; }
71 inline ViewManager* OktetaProgram::viewManager() { return mViewManager; }
72 inline MultiDocumentStrategy* OktetaProgram::documentStrategy() { return mDocumentStrategy; }
73 inline ByteArrayViewProfileManager* OktetaProgram::byteArrayViewProfileManager() { return mByteArrayViewProfileManager; }
74 
75 }
76 
77 #endif
Kasten2::OktetaProgram::quit
void quit()
Definition: mobile/program/program.cpp:157
Kasten2::OktetaProgram::byteArrayViewProfileManager
ByteArrayViewProfileManager * byteArrayViewProfileManager()
Definition: program/program.h:73
Kasten2::MultiDocumentStrategy
Definition: multidocumentstrategy.h:37
Kasten2::OktetaProgram::mDialogHandler
DialogHandler * mDialogHandler
Definition: mobile/program/program.h:68
Kasten2::ViewManager
Definition: viewmanager.h:40
Kasten2::OktetaProgram::documentManager
DocumentManager * documentManager()
Definition: mobile/program/program.h:72
Kasten2::OktetaProgram::mDocumentStrategy
MultiDocumentStrategy * mDocumentStrategy
Definition: program/program.h:62
about.h
OktetaAboutData
Definition: mobile/program/about.h:30
Kasten2::OktetaProgram::mAboutData
OktetaAboutData mAboutData
Definition: mobile/program/program.h:61
Kasten2::OktetaProgram::mViewManager
ViewManager * mViewManager
Definition: mobile/program/program.h:64
Kasten2::DialogHandler
Definition: dialoghandler.h:38
Kasten2::OktetaProgram::mByteArrayViewProfileManager
ByteArrayViewProfileManager * mByteArrayViewProfileManager
Definition: program/program.h:66
Kasten2::OktetaProgram::execute
int execute()
Definition: mobile/program/program.cpp:76
Kasten2::OktetaProgram::mDocumentManager
DocumentManager * mDocumentManager
Definition: mobile/program/program.h:63
Kasten2::ByteArrayViewProfileManager
Definition: bytearrayviewprofilemanager.h:65
Kasten2::OktetaProgram::documentStrategy
MultiDocumentStrategy * documentStrategy()
Definition: program/program.h:72
Kasten2::OktetaProgram::OktetaProgram
OktetaProgram(int argc, char *argv[])
Definition: mobile/program/program.cpp:60
Kasten2::DocumentManager
Definition: documentmanager.h:44
Kasten2::OktetaProgram::~OktetaProgram
virtual ~OktetaProgram()
Definition: mobile/program/program.cpp:181
Kasten2::OktetaProgram::viewManager
ViewManager * viewManager()
Definition: program/program.h:71
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