summaryrefslogtreecommitdiffabout
path: root/microkde/klineedit.h
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /microkde/klineedit.h
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
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