• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kate

KateMainWindow Class Reference

#include <katemainwindow.h>

Inheritance diagram for KateMainWindow:

Inheritance graph
[legend]

List of all members.


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

Destruct the nice window.

Definition at line 188 of file katemainwindow.cpp.


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]

Accessor methodes for interface and child objects.

Definition at line 72 of file katemainwindow.h.

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

central tabwidget ;)

Returns:
tab widget

Definition at line 315 of file katemainwindow.cpp.

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:
  • katemainwindow.h
  • katemainwindow.cpp

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kate
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal