koshell

KoShellWindow Class Reference

List of all members.

Detailed Description

Definition at line 45 of file koshell_shell.h.


Public Member Functions

 KoShellWindow ()
virtual ~KoShellWindow ()
virtual void setRootDocument (KoDocument *doc)
virtual void updateCaption ()
virtual QString configFile () const

Public Attributes

KAction * mnuSaveAll
KAction * partSpecificHelpAction

Protected Slots

virtual void slotFileNew ()
virtual void slotFileClose ()
virtual void slotFileOpen ()
void saveAll ()
void showPartSpecificHelp ()
void slotSidebar_Part (int)
void slotSidebar_Document (int)
void tab_contextMenu (QWidget *, const QPoint &)
void slotShowSidebar ()
void slotSidebarItemClicked (QIconViewItem *item)
void slotKSLoadCompleted ()
void slotKSLoadCanceled (const QString &)
void slotNewDocumentName ()
void slotUpdatePart (QWidget *widget)

Member Function Documentation

void KoShellWindow::updateCaption (  )  [virtual]

Update caption from document info - call when document info (title in the about page) changes.

Definition at line 376 of file koshell_shell.cc.

void KoShellWindow::slotShowSidebar (  )  [protected, slot]

Used for showing or hiding the sidebar and the components-label.

Definition at line 456 of file koshell_shell.cc.

void KoShellWindow::slotSidebarItemClicked ( QIconViewItem *  item  )  [protected, slot]

This slot is called whenever the user clicks on a "component" in the sidebar.

It loads a new document which can be edited with the chosen component.

Parameters:
item The component the user clicked on

Definition at line 258 of file koshell_shell.cc.

void KoShellWindow::slotUpdatePart ( QWidget *  widget  )  [protected, slot]

This slot is called whenever the user clicks on a tab to change the document.

It looks for the changed widget in the list of all pages and calls switchToPage with the iterator which points to the page corresponding to the widget.

Parameters:
widget The current widget

Definition at line 470 of file koshell_shell.cc.


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