kate
KateMainWindow Class Reference
#include <katemainwindow.h>
Public Member Functions | |
KURL | activeDocumentUrl () |
DCOPObject * | dcopObject () |
KateMainWindow (KConfig *sconfig, const QString &sgroup) | |
Kate::MainWindow * | mainWindow () |
uint | mainWindowNumber () const |
void | openURL (const QString &name=0L) |
bool | queryClose_internal () |
void | readProperties (KConfig *config) |
void | saveGlobalProperties (KConfig *sessionConfig) |
void | saveProperties (KConfig *config) |
bool | showModOnDiskPrompt () |
KateTabWidget * | tabWidget () |
Kate::ToolViewManager * | toolViewManager () |
KateViewManager * | viewManager () |
~KateMainWindow () | |
Protected Member Functions | |
bool | event (QEvent *) |
Detailed Description
Definition at line 48 of file katemainwindow.h.
Constructor & Destructor Documentation
KateMainWindow::KateMainWindow | ( | KConfig * | sconfig, | |
const QString & | sgroup | |||
) |
Construct the window and restore it's state from given config if any.
- Parameters:
-
sconfig session config for this window, 0 if none sgroup session config group to use
Definition at line 89 of file katemainwindow.cpp.
KateMainWindow::~KateMainWindow | ( | ) |
Member Function Documentation
KURL KateMainWindow::activeDocumentUrl | ( | ) |
various methodes to get some little info out of this
Returns the URL of the current document. anders: I add this for use from the file selector.
Definition at line 574 of file katemainwindow.cpp.
DCOPObject* KateMainWindow::dcopObject | ( | ) | [inline] |
Definition at line 77 of file katemainwindow.h.
bool KateMainWindow::event | ( | QEvent * | e | ) | [protected] |
Definition at line 749 of file katemainwindow.cpp.
Kate::MainWindow* KateMainWindow::mainWindow | ( | ) | [inline] |
uint KateMainWindow::mainWindowNumber | ( | ) | const [inline] |
Definition at line 87 of file katemainwindow.h.
void KateMainWindow::openURL | ( | const QString & | name = 0L |
) |
Definition at line 558 of file katemainwindow.cpp.
bool KateMainWindow::queryClose_internal | ( | ) |
Definition at line 325 of file katemainwindow.cpp.
void KateMainWindow::readProperties | ( | KConfig * | config | ) |
Definition at line 835 of file katemainwindow.cpp.
void KateMainWindow::saveGlobalProperties | ( | KConfig * | sessionConfig | ) |
Definition at line 846 of file katemainwindow.cpp.
void KateMainWindow::saveProperties | ( | KConfig * | config | ) |
Definition at line 825 of file katemainwindow.cpp.
bool KateMainWindow::showModOnDiskPrompt | ( | ) |
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.
- Returns:
- true if no documents are modified on disk, or all documents were handled by the dialog; otherwise (the dialog was canceled) false.
Definition at line 759 of file katemainwindow.cpp.
KateTabWidget * KateMainWindow::tabWidget | ( | ) |
Kate::ToolViewManager* KateMainWindow::toolViewManager | ( | ) | [inline] |
Definition at line 73 of file katemainwindow.h.
KateViewManager* KateMainWindow::viewManager | ( | ) | [inline] |
Definition at line 75 of file katemainwindow.h.
The documentation for this class was generated from the following files: