lib

KoOpenPane Class Reference

List of all members.

Detailed Description

Definition at line 34 of file KoOpenPane.h.


Signals

void openExistingFile (const QString &)
void openTemplate (const QString &)
void alwaysUseChanged (KoTemplatesPane *sender, const QString &alwaysUse)
void splitterResized (KoDetailsPaneBase *sender, const QValueList< int > &sizes)

Public Member Functions

 KoOpenPane (QWidget *parent, KInstance *instance, const QString &templateType=QString::null)
virtual ~KoOpenPane ()
QListViewItem * addPane (const QString &title, const QString &icon, QWidget *widget, int sortWeight)
QListViewItem * addPane (const QString &title, const QPixmap &icon, QWidget *widget, int sortWeight)
void setCustomDocumentWidget (QWidget *widget)

Protected Slots

void showOpenFileDialog ()
void selectionChanged (QListViewItem *item)
void itemClicked (QListViewItem *item)
void saveSplitterSizes (KoDetailsPaneBase *sender, const QValueList< int > &sizes)

Protected Member Functions

void initRecentDocs ()
void initTemplates (const QString &templateType)

Constructor & Destructor Documentation

KoOpenPane::KoOpenPane ( QWidget *  parent,
KInstance *  instance,
const QString &  templateType = QString::null 
)

Constructor.

Parameters:
parent the parent widget
instance the KInstance to be used for KConfig data
templateType the template-type (group) that should be selected on creation.

Definition at line 97 of file KoOpenPane.cpp.


Member Function Documentation

void KoOpenPane::setCustomDocumentWidget ( QWidget *  widget  ) 

If the application has a way to create a document not based on a template, but on user provided settings, the widget showing these gets set here.

See also:
KoDocument::createCustomDocumentWidget()
Parameters:
widget the widget.

Definition at line 243 of file KoOpenPane.cpp.

void KoOpenPane::saveSplitterSizes ( KoDetailsPaneBase *  sender,
const QValueList< int > &  sizes 
) [protected, slot]

Saves the splitter sizes for KoDetailsPaneBase based panes.

Definition at line 300 of file KoOpenPane.cpp.

void KoOpenPane::alwaysUseChanged ( KoTemplatesPane sender,
const QString &  alwaysUse 
) [signal]

Emitted when the always use template has changed.

void KoOpenPane::splitterResized ( KoDetailsPaneBase *  sender,
const QValueList< int > &  sizes 
) [signal]

Emitted when one of the detail panes have changed it's splitter.

void KoOpenPane::initTemplates ( const QString &  templateType  )  [protected]

Populate the list with all templates the user can choose.

Parameters:
templateType the template-type (group) that should be selected on creation.

Definition at line 189 of file KoOpenPane.cpp.


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