19 #include "mainwindow.h"
20 #include "mainwindow.moc"
22 #include "documentmanager.h"
24 #include "viewmanager.h"
25 #include "toolviewmanager.h"
26 #include "pluginmanager.h"
28 #include "../app/katemainwindow.h"
29 #include "../app/kateviewmanager.h"
34 class PrivateMainWindow
49 MainWindow::MainWindow (
void *mainWindow) : TQObject ((KateMainWindow*) mainWindow)
51 d =
new PrivateMainWindow;
52 d->win = (KateMainWindow*) mainWindow;
55 MainWindow::~MainWindow ()
60 KXMLGUIFactory *MainWindow::guiFactory()
const
62 return d->win->guiFactory();
65 ViewManager *MainWindow::viewManager ()
const
67 return d->win->viewManager ()->viewManager ();
70 class TQWidget *MainWindow::centralWidget()
const
72 return d->win->centralWidget();
75 ToolViewManager *MainWindow::toolViewManager ()
const
77 return d->win->toolViewManager ();
Namespace collecting as much of the internal Kate classes as we can manage.