KateMainWindow Class Reference
List of all members.Public Slots | |
void | slotProjectNew () |
void | slotProjectOpen () |
void | slotProjectSave () |
void | slotProjectClose () |
void | openConstURLProject (const KURL &) |
Public Member Functions | |
KateMainWindow () | |
~KateMainWindow () | |
Kate::MainWindow * | mainWindow () |
Kate::ViewManager * | viewManager () |
Kate::ToolViewManager * | toolViewManager () |
KateViewManager * | kateViewManager () |
DCOPObject * | dcopObject () |
KMDI::ToolViewAccessor * | addToolView (KDockWidget::DockPosition position, QWidget *widget, const QPixmap &icon, const QString &sname, const QString &tabToolTip=0, const QString &tabCaption=0) |
bool | removeToolView (QWidget *) |
bool | removeToolView (KMDI::ToolViewAccessor *) |
bool | showToolView (QWidget *) |
bool | showToolView (KMDI::ToolViewAccessor *) |
bool | hideToolView (QWidget *) |
bool | hideToolView (KMDI::ToolViewAccessor *) |
Kate::Project * | activeProject () |
Kate::Project * | createProject (const QString &type, const QString &name, const QString &filename) |
Kate::Project * | openProject (const QString &filename) |
void | activateProject (Kate::Project *project) |
KURL | activeDocumentUrl () |
uint | mainWindowNumber () const |
bool | showModOnDiskPrompt () |
void | readProperties (KConfig *config) |
void | saveProperties (KConfig *config) |
void | saveGlobalProperties (KConfig *sessionConfig) |
void | openURL (const QString &name=0L) |
Protected Member Functions | |
bool | eventFilter (QObject *, QEvent *) |
bool | event (QEvent *) |
Friends | |
class | KateConfigDialog |
class | KateViewManager |
Detailed Description
Definition at line 53 of file katemainwindow.h.
Member Function Documentation
|
Accessor methodes for interface and child objects.
Definition at line 68 of file katemainwindow.h. Referenced by KateApp::activeMainWindow(), KateProjectManager::close(), KatePluginManager::disablePluginGUI(), KateProjectManager::disableProjectGUI(), KatePluginManager::enablePluginGUI(), KateProjectManager::enableProjectGUI(), KateProjectList::KateProjectList(), and KateProjectViews::KateProjectViews(). |
|
ToolView Managment, used to create/access/delete toolviews.
Definition at line 798 of file katemainwindow.cpp. References QWidget::setCaption(), and QWidget::setIcon(). |
|
current active project
Definition at line 99 of file katemainwindow.h. |
|
Creates a new project file at give url of given type + opens it.
Definition at line 882 of file katemainwindow.cpp. References activateProject(), KateProjectManager::create(), and KateProjectManager::self(). Referenced by slotProjectNew(). |
|
Definition at line 892 of file katemainwindow.cpp. References activateProject(), KateProjectManager::open(), and KateProjectManager::self(). Referenced by openConstURLProject(), and slotProjectOpen(). |
|
activate given project
Definition at line 857 of file katemainwindow.cpp. References KateProjectManager::disableProjectGUI(), KateProjectManager::enableProjectGUI(), Kate::MainWindow::projectChanged(), Kate::Project::projectNumber(), KateProjectManager::self(), and KateProjectManager::setCurrentProject(). Referenced by createProject(), KateMainWindow(), and openProject(). |
|
Returns the URL of the current document. anders: I add this for use from the file selector. Definition at line 558 of file katemainwindow.cpp. References KateViewManager::activeView(). Referenced by KateExternalToolAction::expandMacro(), and KateFileSelector::kateViewChanged(). |
|
Prompts the user for what to do with files that are modified on disk if any. This is optionally run when the window receives focus, and when the last window is closed.
Definition at line 772 of file katemainwindow.cpp. References KateDocManager::firstDocument(), QPtrVector::insert(), KateViewSpace::modifiedOnDisc(), KateDocManager::nextDocument(), QPtrVector::resize(), and KateDocManager::self(). Referenced by event(). |
The documentation for this class was generated from the following files: