From b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 26 Jun 2004 19:01:18 +0000 Subject: Initial revision --- (limited to 'microkde/klineedit.h') 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 @@ +#ifndef MINIKDE_KLINEEDIT_H +#define MINIKDE_KLINEEDIT_H + +#include + +#ifndef DESKTOP_VERSION +#include +#endif + + +class KLineEdit : public QLineEdit +{ + public: + KLineEdit( QWidget *parent=0, const char *name=0 ) : + QLineEdit( parent, name ) { +#ifndef DESKTOP_VERSION + QPEApplication::setStylusOperation( this, QPEApplication::RightOnHold ); +#endif +} + + void setTrapReturnKey( bool ) {} +}; + +#endif -- cgit v0.9.0.2