From 23fbd85de36bac6e8dff5e16a6e22ce19fe15187 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 17 Oct 2002 04:12:20 +0000 Subject: added hold stylus default menu --- (limited to 'core/apps/textedit') 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 @@ -395,6 +395,7 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) 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" ); -- cgit v0.9.0.2