summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-02-28 17:52:09 (UTC)
committer llornkcor <llornkcor>2003-02-28 17:52:09 (UTC)
commitd4db61dbd748040bed740e08a839e01b86af2c87 (patch) (side-by-side diff)
tree847f76a0d19e71d1c3213cec918153c53a43de3d
parent92c322fc6500de8c33409e0cecb25bf655bee8bc (diff)
downloadopie-d4db61dbd748040bed740e08a839e01b86af2c87.zip
opie-d4db61dbd748040bed740e08a839e01b86af2c87.tar.gz
opie-d4db61dbd748040bed740e08a839e01b86af2c87.tar.bz2
move goto menu entry
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 2f62789..797c61b 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -235,45 +235,44 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
a->addTo( edit );
a = new QAction( tr( "Paste" ), Resource::loadPixmap( "paste" ),
QString::null, 0, this, 0 );
connect( a, SIGNAL( activated() ), this, SLOT( editPaste() ) );
a->addTo( editBar );
a->addTo( edit );
#ifndef QT_NO_CLIPBOARD
a = new QAction( tr( "Insert Time and Date" ), Resource::loadPixmap( "paste" ),
QString::null, 0, this, 0 );
connect( a, SIGNAL( activated() ), this, SLOT( editPasteTimeDate() ) );
a->addTo( edit );
#endif
- a = new QAction( tr( "Find..." ), Resource::loadPixmap( "find" ),
+ a = new QAction( tr( "Goto Line..." ), Resource::loadPixmap( "find" ),
QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( editFind() ) );
+ connect( a, SIGNAL( activated() ), this, SLOT( gotoLine() ) );
edit->insertSeparator();
- a->addTo( bar );
a->addTo( edit );
- a = new QAction( tr( "Goto Line..." ), Resource::loadPixmap( "find" ),
+ a = new QAction( tr( "Find..." ), Resource::loadPixmap( "find" ),
QString::null, 0, this, 0 );
- connect( a, SIGNAL( activated() ), this, SLOT( gotoLine() ) );
+ connect( a, SIGNAL( activated() ), this, SLOT( editFind() ) );
+ a->addTo( bar );
a->addTo( edit );
-
zin = new QAction( tr("Zoom in"), QString::null, 0, this, 0 );
connect( zin, SIGNAL( activated() ), this, SLOT( zoomIn() ) );
zin->addTo( font );
zout = new QAction( tr("Zoom out"), QString::null, 0, this, 0 );
connect( zout, SIGNAL( activated() ), this, SLOT( zoomOut() ) );
zout->addTo( font );
font->insertSeparator();
font->insertItem(tr("Font"), this, SLOT(changeFont()) );
font->insertSeparator();
font->insertItem(tr("Advanced Features"), advancedMenu);
QAction *wa = new QAction( tr("Wrap lines"),