libkdepim

ConditionEditWidget Class Reference

#include <kscoringeditor.h>

Inheritance diagram for ConditionEditWidget:
KWidgetLister

Public Slots

void slotEditRule (KScoringRule *)

Public Member Functions

 ConditionEditWidget (KScoringManager *, TQWidget *p=0, const char *n=0)
TQWidget * createWidget (TQWidget *)
void updateRule (KScoringRule *)
void clearWidget (TQWidget *)
- Public Member Functions inherited from KWidgetLister
 KWidgetLister (int minWidgets=1, int maxWidgets=8, TQWidget *parent=0, const char *name=0)

Additional Inherited Members

- Signals inherited from KWidgetLister
void widgetAdded ()
void widgetAdded (TQWidget *)
void widgetRemoved ()
void clearWidgets ()
- Protected Slots inherited from KWidgetLister
virtual void slotMore ()
virtual void slotFewer ()
virtual void slotClear ()
- Protected Member Functions inherited from KWidgetLister
virtual void addWidgetAtEnd (TQWidget *w=0)
virtual void removeLastWidget ()
virtual void setNumberOfShownWidgetsTo (int aNum)
- Protected Attributes inherited from KWidgetLister
TQPtrList< TQWidget > mWidgetList
int mMinWidgets
int mMaxWidgets

Detailed Description

this widget implements the conditions editor

Definition at line 85 of file kscoringeditor.h.

Member Function Documentation

void ConditionEditWidget::clearWidget ( TQWidget *  )
virtual

Called to clear a given widget.

The default implementation does nothing.

Reimplemented from KWidgetLister.

Definition at line 168 of file kscoringeditor.cpp.

TQWidget * ConditionEditWidget::createWidget ( TQWidget *  parent)
virtual

Because QT 2.x does not support signals/slots in template classes, we are forced to emulate this by forcing the implementers of subclasses of KWidgetLister to reimplement this function which replaces the "@p new @p T" call.

Reimplemented from KWidgetLister.

Definition at line 163 of file kscoringeditor.cpp.


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