• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

  • kate
  • interfaces
application.h
1/* This file is part of the KDE project
2 Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19#ifndef _KATE_APPLICATION_INCLUDE_
20#define _KATE_APPLICATION_INCLUDE_
21
22#include <tqobject.h>
23#include <kurl.h>
24
25namespace Kate
26{
27
28class DocumentManager;
29class PluginManager;
30class InitPluginManager;
31class MainWindow;
32
38class TDE_EXPORT Application : public TQObject
39{
40 friend class PrivateApplication;
41
42 TQ_OBJECT
43
44 public:
48 Application (void *application);
49
53 virtual ~Application ();
54
55 public:
58 Kate::DocumentManager *documentManager ();
59
60 Kate::PluginManager *pluginManager ();
61
62 Kate::MainWindow *activeMainWindow ();
63
64 uint mainWindows ();
65 Kate::MainWindow *mainWindow (uint n = 0);
66
67 private:
68 class PrivateApplication *d;
69};
70
75TDE_EXPORT Application *application ();
76
77}
78
79#endif
Kate::Application
Interface to the application, beside some global methodes to access other objects like document/proje...
Definition: application.h:39
Kate::DocumentManager
This interface provides access to the Kate Document Manager.
Definition: documentmanager.h:30
Kate::PluginManager
This interface provides access to the Kate Plugin Manager.
Definition: pluginmanager.h:31
Kate
Namespace collecting as much of the internal Kate classes as we can manage.
Definition: kateapp.h:32
Kate::application
Application * application()
Returns the application object.
Definition: application.cpp:91
Kate::documentManager
DocumentManager * documentManager()
Returns the document manager object.
Definition: documentmanager.cpp:114

kate

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

kate

Skip menu "kate"
  • kate
  • libkonq
  • twin
  •   lib
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.