KateMainWindow Class Reference
Inheritance diagram for KateMainWindow:

Detailed Description
Definition at line 48 of file katemainwindow.h.
Public Member Functions | |
KateMainWindow (KConfig *sconfig, const QString &sgroup) | |
~KateMainWindow () | |
Kate::MainWindow * | mainWindow () |
Kate::ToolViewManager * | toolViewManager () |
KateViewManager * | viewManager () |
DCOPObject * | dcopObject () |
KURL | activeDocumentUrl () |
uint | mainWindowNumber () const |
bool | showModOnDiskPrompt () |
KateTabWidget * | tabWidget () |
void | readProperties (KConfig *config) |
void | saveProperties (KConfig *config) |
void | saveGlobalProperties (KConfig *sessionConfig) |
bool | queryClose_internal () |
void | openURL (const QString &name=0L) |
Protected Member Functions | |
bool | event (QEvent *) |
Friends | |
class | KateConfigDialog |
class | KateViewManager |
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
Kate::MainWindow* KateMainWindow::mainWindow | ( | ) | [inline] |
KURL KateMainWindow::activeDocumentUrl | ( | ) |
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.
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 769 of file katemainwindow.cpp.
KateTabWidget * KateMainWindow::tabWidget | ( | ) |
The documentation for this class was generated from the following files: