author | llornkcor <llornkcor> | 2003-02-28 17:52:09 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-02-28 17:52:09 (UTC) |
commit | d4db61dbd748040bed740e08a839e01b86af2c87 (patch) (unidiff) | |
tree | 847f76a0d19e71d1c3213cec918153c53a43de3d /core/apps/textedit | |
parent | 92c322fc6500de8c33409e0cecb25bf655bee8bc (diff) | |
download | opie-d4db61dbd748040bed740e08a839e01b86af2c87.zip opie-d4db61dbd748040bed740e08a839e01b86af2c87.tar.gz opie-d4db61dbd748040bed740e08a839e01b86af2c87.tar.bz2 |
move goto menu entry
-rw-r--r-- | core/apps/textedit/textedit.cpp | 11 |
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 | |||
@@ -248,19 +248,18 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
248 | a->addTo( edit ); | 248 | a->addTo( edit ); |
249 | #endif | 249 | #endif |
250 | 250 | ||
251 | a = new QAction( tr( "Find..." ), Resource::loadPixmap( "find" ), | 251 | a = new QAction( tr( "Goto Line..." ), Resource::loadPixmap( "find" ), |
252 | QString::null, 0, this, 0 ); | 252 | QString::null, 0, this, 0 ); |
253 | connect( a, SIGNAL( activated() ), this, SLOT( editFind() ) ); | 253 | connect( a, SIGNAL( activated() ), this, SLOT( gotoLine() ) ); |
254 | edit->insertSeparator(); | 254 | edit->insertSeparator(); |
255 | a->addTo( bar ); | ||
256 | a->addTo( edit ); | 255 | a->addTo( edit ); |
257 | 256 | ||
258 | a = new QAction( tr( "Goto Line..." ), Resource::loadPixmap( "find" ), | 257 | a = new QAction( tr( "Find..." ), Resource::loadPixmap( "find" ), |
259 | QString::null, 0, this, 0 ); | 258 | QString::null, 0, this, 0 ); |
260 | connect( a, SIGNAL( activated() ), this, SLOT( gotoLine() ) ); | 259 | connect( a, SIGNAL( activated() ), this, SLOT( editFind() ) ); |
260 | a->addTo( bar ); | ||
261 | a->addTo( edit ); | 261 | a->addTo( edit ); |
262 | 262 | ||
263 | |||
264 | zin = new QAction( tr("Zoom in"), QString::null, 0, this, 0 ); | 263 | zin = new QAction( tr("Zoom in"), QString::null, 0, this, 0 ); |
265 | connect( zin, SIGNAL( activated() ), this, SLOT( zoomIn() ) ); | 264 | connect( zin, SIGNAL( activated() ), this, SLOT( zoomIn() ) ); |
266 | zin->addTo( font ); | 265 | zin->addTo( font ); |