lib

#include <KoDetailsPane.h>

Inherits KoDetailsPaneBase.

Public Slots

void resizeSplitter (KoDetailsPaneBase *sender, const TQValueList< int > &sizes)
 

Signals

void openTemplate (const TQString &)
 
void alwaysUseChanged (KoTemplatesPane *sender, const TQString &alwaysUse)
 
void splitterResized (KoDetailsPaneBase *sender, const TQValueList< int > &sizes)
 

Public Member Functions

 KoTemplatesPane (TQWidget *parent, TDEInstance *instance, KoTemplateGroup *group, KoTemplate *defaultTemplate)
 
bool isSelected ()
 
virtual bool eventFilter (TQObject *watched, TQEvent *e)
 

Protected Slots

void selectionChanged (TQListViewItem *item)
 
void openTemplate ()
 
void openTemplate (TQListViewItem *item)
 
void alwaysUseClicked ()
 
void changeAlwaysUseTemplate (KoTemplatesPane *sender, const TQString &alwaysUse)
 
void changePalette ()
 

Detailed Description

This widget is the right-side part of the template opening widget.

The parent widget is initial widget in the document space of each KOffice component. This widget shows a list of templates and can show their details or open it.

Definition at line 46 of file KoDetailsPane.h.

Constructor & Destructor Documentation

◆ KoTemplatesPane()

KoTemplatesPane::KoTemplatesPane ( TQWidget *  parent,
TDEInstance *  instance,
KoTemplateGroup *  group,
KoTemplate *  defaultTemplate 
)

Constructor.

Parameters
parentthe parent widget
instancethe instance object for the app
groupthe group of templates this widget will show.
defaultTemplatepointer to the default template. Used to select a template when none has been selected before.

Definition at line 84 of file KoDetailsPane.cpp.

◆ ~KoTemplatesPane()

KoTemplatesPane::~KoTemplatesPane ( )

Definition at line 144 of file KoDetailsPane.cpp.

Member Function Documentation

◆ alwaysUseChanged

void KoTemplatesPane::alwaysUseChanged ( KoTemplatesPane *  sender,
const TQString &  alwaysUse 
)
signal

Emited when the always use checkbox is selected.

◆ alwaysUseClicked

void KoTemplatesPane::alwaysUseClicked ( )
protectedslot

Definition at line 197 of file KoDetailsPane.cpp.

◆ changeAlwaysUseTemplate

void KoTemplatesPane::changeAlwaysUseTemplate ( KoTemplatesPane *  sender,
const TQString &  alwaysUse 
)
protectedslot

Definition at line 212 of file KoDetailsPane.cpp.

◆ changePalette

void KoTemplatesPane::changePalette ( )
protectedslot

Definition at line 184 of file KoDetailsPane.cpp.

◆ eventFilter()

bool KoTemplatesPane::eventFilter ( TQObject *  watched,
TQEvent *  e 
)
virtual

Definition at line 227 of file KoDetailsPane.cpp.

◆ isSelected()

bool KoTemplatesPane::isSelected ( )

Returns true if a template in this group was the last one selected.

Definition at line 192 of file KoDetailsPane.cpp.

◆ openTemplate [1/2]

void KoTemplatesPane::openTemplate ( )
protectedslot

Definition at line 167 of file KoDetailsPane.cpp.

◆ openTemplate [2/2]

void KoTemplatesPane::openTemplate ( TQListViewItem *  item)
protectedslot

Definition at line 173 of file KoDetailsPane.cpp.

◆ resizeSplitter

void KoTemplatesPane::resizeSplitter ( KoDetailsPaneBase *  sender,
const TQValueList< int > &  sizes 
)
slot

Definition at line 244 of file KoDetailsPane.cpp.

◆ selectionChanged

void KoTemplatesPane::selectionChanged ( TQListViewItem *  item)
protectedslot

Definition at line 149 of file KoDetailsPane.cpp.


The documentation for this class was generated from the following files: