HistoryField.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef HISTORY_FIELD_H
00010 #define HISTORY_FIELD_H
00011 #include <iostream.h>
00012 #include <qcombobox.h>
00013 #include <qlineedit.h>
00014 #include <qapplication.h>
00015 #include <qwidget.h>
00016 #include "Util.h"
00017
00018 class HistoryField : public QComboBox {
00019
00020 Q_OBJECT
00021
00022 public:
00023
00024 HistoryField( QWidget* parent, const char* name = 0 );
00025
00026 bool isDigraphEnabled() const;
00027
00028 public slots:
00029
00030 void setDigraphEnabled( bool isEnabled );
00031
00032 protected:
00033
00034 bool eventFilter( QObject* obj, QEvent* event );
00035
00036 signals:
00037
00038 void returnPressed();
00039
00040 private:
00041
00042 bool digraphEnabled;
00043 QString buffer;
00044
00045 };
00046
00047 #endif