summaryrefslogtreecommitdiffabout
path: root/microkde/klineedit.h
Unidiff
Diffstat (limited to 'microkde/klineedit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/klineedit.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/microkde/klineedit.h b/microkde/klineedit.h
new file mode 100644
index 0000000..65e2f59
--- a/dev/null
+++ b/microkde/klineedit.h
@@ -0,0 +1,24 @@
1#ifndef MINIKDE_KLINEEDIT_H
2#define MINIKDE_KLINEEDIT_H
3
4#include <qlineedit.h>
5
6#ifndef DESKTOP_VERSION
7#include <qpe/qpeapplication.h>
8#endif
9
10
11class KLineEdit : public QLineEdit
12{
13 public:
14 KLineEdit( QWidget *parent=0, const char *name=0 ) :
15 QLineEdit( parent, name ) {
16#ifndef DESKTOP_VERSION
17 QPEApplication::setStylusOperation( this, QPEApplication::RightOnHold );
18#endif
19}
20
21 void setTrapReturnKey( bool ) {}
22};
23
24#endif