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

kate

  • kate
  • interfaces
mainwindow.cpp
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#include "mainwindow.h"
20#include "mainwindow.moc"
21
22#include "documentmanager.h"
23#include "plugin.h"
24#include "viewmanager.h"
25#include "toolviewmanager.h"
26#include "pluginmanager.h"
27
28#include "../app/katemainwindow.h"
29#include "../app/kateviewmanager.h"
30
31namespace Kate
32{
33
34class PrivateMainWindow
35 {
36 public:
37 PrivateMainWindow ()
38 {
39 }
40
41 ~PrivateMainWindow ()
42 {
43
44 }
45
46 KateMainWindow *win;
47 };
48
49MainWindow::MainWindow (void *mainWindow) : TQObject ((KateMainWindow*) mainWindow)
50{
51 d = new PrivateMainWindow;
52 d->win = (KateMainWindow*) mainWindow;
53}
54
55MainWindow::~MainWindow ()
56{
57 delete d;
58}
59
60KXMLGUIFactory *MainWindow::guiFactory() const
61{
62 return d->win->guiFactory();
63}
64
65ViewManager *MainWindow::viewManager () const
66{
67 return d->win->viewManager ()->viewManager ();
68}
69
70class TQWidget *MainWindow::centralWidget() const
71{
72 return d->win->centralWidget();
73}
74
75ToolViewManager *MainWindow::toolViewManager () const
76{
77 return d->win->toolViewManager ();
78}
79
80}
Kate
Namespace collecting as much of the internal Kate classes as we can manage.
Definition: kateapp.h:32

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.