You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeadmin/ksysv/SpinBox.h

34 lines
627 B

// (c) 2000 Peter Putzer
#ifndef KSV_SPINBOX_H
#define KSV_SPINBOX_H
#include <tqspinbox.h>
#include <kcompletion.h>
class KSVSpinBox : public TQSpinBox, public TDECompletionBase
{
Q_OBJECT
public:
KSVSpinBox (TQWidget* parent, const char* name = 0L);
virtual ~KSVSpinBox ();
virtual bool eventFilter (TQObject*, TQEvent*);
virtual void setCompletedText (const TQString&);
virtual void setCompletedItems (const TQStringList&);
protected:
virtual TQString mapValueToText (int value);
private slots:
void handleMatch (const TQString&);
private:
bool mClearedSelection;
};
#endif // KSV_SPINBOX_H