filterselectionwidget.h
00001 #ifndef FILTERSELECTIONWIDGET_H
00002 #define FILTERSELECTIONWIDGET_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <qhbox.h>
00028
00029 class KComboBox;
00030
00035 class FilterSelectionWidget : public QHBox
00036 {
00037 Q_OBJECT
00038
00039 public:
00040 FilterSelectionWidget(QWidget *parent, const char *name = 0);
00041 ~FilterSelectionWidget();
00042
00043 void setFilterNames(const QStringList &names);
00044
00045 int currentItem() const;
00046 void setCurrentItem(int index);
00047
00048 QString text(int index) const;
00049 unsigned int count() const;
00050
00051 QString currentFilterName() const;
00052 void setCurrentFilterName(const QString &name);
00053
00054 signals:
00055 void filterActivated(int);
00056
00057 protected slots:
00058 void activated(int);
00059
00060 private:
00061 KComboBox *mFilterCombo;
00062 };
00063 #endif
This file is part of the documentation for kdelibs Version 3.1.4.