KateMainWindow Class Reference

Inheritance diagram for KateMainWindow:

KateMDI::MainWindow List of all members.

Detailed Description

Definition at line 48 of file katemainwindow.h.


Public Member Functions

 KateMainWindow (KConfig *sconfig, const QString &sgroup)
 ~KateMainWindow ()
Kate::MainWindowmainWindow ()
Kate::ToolViewManagertoolViewManager ()
KateViewManagerviewManager ()
DCOPObject * dcopObject ()
KURL activeDocumentUrl ()
uint mainWindowNumber () const
bool showModOnDiskPrompt ()
KateTabWidgettabWidget ()
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 (  ) 

Destruct the nice window.

Definition at line 188 of file katemainwindow.cpp.


Member Function Documentation

Kate::MainWindow* KateMainWindow::mainWindow (  )  [inline]

Accessor methodes for interface and child objects.

Definition at line 72 of file katemainwindow.h.

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 (  ) 

central tabwidget ;)

Returns:
tab widget

Definition at line 315 of file katemainwindow.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys