mainwindow.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "mainwindow.h"
00020 #include "mainwindow.moc"
00021
00022 #include "documentmanager.h"
00023 #include "plugin.h"
00024 #include "viewmanager.h"
00025 #include "toolviewmanager.h"
00026 #include "pluginmanager.h"
00027
00028 #include "../app/katemainwindow.h"
00029
00030 #include <kapplication.h>
00031
00032 namespace Kate
00033 {
00034
00035 class PrivateMainWindow
00036 {
00037 public:
00038 PrivateMainWindow ()
00039 {
00040 }
00041
00042 ~PrivateMainWindow ()
00043 {
00044
00045 }
00046
00047 KateMainWindow *win;
00048 };
00049
00050 MainWindow::MainWindow (void *mainWindow) : QObject ((KateMainWindow*) mainWindow)
00051 {
00052 d = new PrivateMainWindow;
00053 d->win = (KateMainWindow*) mainWindow;
00054 }
00055
00056 MainWindow::~MainWindow ()
00057 {
00058 delete d;
00059 }
00060
00061 KXMLGUIFactory *MainWindow::guiFactory() const
00062 {
00063 return d->win->guiFactory();
00064 }
00065
00066 ViewManager *MainWindow::viewManager () const
00067 {
00068 return d->win->viewManager ();
00069 }
00070
00071 ToolViewManager *MainWindow::toolViewManager () const
00072 {
00073 return d->win->toolViewManager ();
00074 }
00075
00076 Project *MainWindow::activeProject () const
00077 {
00078 return d->win->activeProject ();
00079 }
00080
00081 Project *MainWindow::createProject (const QString &type, const QString &name, const QString &filename)
00082 {
00083 return d->win->createProject (type, name, filename);
00084 }
00085
00086 Project *MainWindow::openProject (const QString &filename)
00087 {
00088 return d->win->openProject (filename);
00089 }
00090
00091 }
00092
This file is part of the documentation for kate Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Apr 11 13:44:49 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003