summaryrefslogtreecommitdiffabout
path: root/microkde/klineedit.h
blob: 65e2f59494677f79203cc4ed2e67a5a633887cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef MINIKDE_KLINEEDIT_H
#define MINIKDE_KLINEEDIT_H

#include <qlineedit.h>

#ifndef DESKTOP_VERSION
#include <qpe/qpeapplication.h>
#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