kaddressbook

FilterSelectionWidget Class Reference

#include <filterselectionwidget.h>

Inherits TQHBox.

Signals

void filterActivated (int)
 

Public Member Functions

 FilterSelectionWidget (TQWidget *parent, const char *name=0)
 
void setItems (const TQStringList &names)
 
int currentItem () const
 
void setCurrentItem (int index)
 

Detailed Description

A simple widget which consists of a label and a combo box in a horizontal line.

The combo box allows the user to select the active filter.

Definition at line 36 of file filterselectionwidget.h.

Constructor & Destructor Documentation

◆ FilterSelectionWidget()

FilterSelectionWidget::FilterSelectionWidget ( TQWidget *  parent,
const char *  name = 0 
)

Definition at line 32 of file filterselectionwidget.cpp.

◆ ~FilterSelectionWidget()

FilterSelectionWidget::~FilterSelectionWidget ( )

Definition at line 45 of file filterselectionwidget.cpp.

Member Function Documentation

◆ currentItem()

int FilterSelectionWidget::currentItem ( ) const

Definition at line 49 of file filterselectionwidget.cpp.

◆ setCurrentItem()

void FilterSelectionWidget::setCurrentItem ( int  index)

Definition at line 54 of file filterselectionwidget.cpp.

◆ setItems()

void FilterSelectionWidget::setItems ( const TQStringList &  names)

Definition at line 59 of file filterselectionwidget.cpp.


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