summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-10-17 04:12:20 (UTC)
committer llornkcor <llornkcor>2002-10-17 04:12:20 (UTC)
commit23fbd85de36bac6e8dff5e16a6e22ce19fe15187 (patch) (side-by-side diff)
tree482f504e56bfcc78f3da73598190b9280a649871
parentac2f56d9be571ff2d8165f81fbea03d31c551779 (diff)
downloadopie-23fbd85de36bac6e8dff5e16a6e22ce19fe15187.zip
opie-23fbd85de36bac6e8dff5e16a6e22ce19fe15187.tar.gz
opie-23fbd85de36bac6e8dff5e16a6e22ce19fe15187.tar.bz2
added hold stylus default menu
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index f3937b1..35f9d3c 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -390,16 +390,17 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
a->addTo( edit );
searchBar->hide();
editor = new QpeEditor( this );
setCentralWidget( editor );
editor->setFrameStyle( QFrame::Panel | QFrame::Sunken );
connect( editor, SIGNAL( textChanged() ), this, SLOT( editorChanged() ) );
+ QPEApplication::setStylusOperation( editor, QPEApplication::RightOnHold);
Config cfg("TextEdit");
cfg. setGroup ( "Font" );
QFont defaultFont = editor-> font ( );
QString family = cfg. readEntry ( "Family", defaultFont. family ( ));
int size = cfg. readNumEntry ( "Size", defaultFont. pointSize ( ));