-rw-r--r-- | noncore/apps/opie-reader/QTReaderApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/QTReaderApp.cpp b/noncore/apps/opie-reader/QTReaderApp.cpp index 06a35f6..68c80c1 100644 --- a/noncore/apps/opie-reader/QTReaderApp.cpp +++ b/noncore/apps/opie-reader/QTReaderApp.cpp | |||
@@ -192,65 +192,65 @@ QTReaderApp::QTReaderApp( QWidget *parent, const char *name, WFlags f ) | |||
192 | reader->init(); | 192 | reader->init(); |
193 | editorStack->addWidget( reader, get_unique_id() ); | 193 | editorStack->addWidget( reader, get_unique_id() ); |
194 | 194 | ||
195 | QAction *a = new QAction( tr( "Open" ), Resource::loadPixmap( "fileopen" ), QString::null, 0, this, 0 ); | 195 | QAction *a = new QAction( tr( "Open" ), Resource::loadPixmap( "fileopen" ), QString::null, 0, this, 0 ); |
196 | connect( a, SIGNAL( activated() ), this, SLOT( fileOpen() ) ); | 196 | connect( a, SIGNAL( activated() ), this, SLOT( fileOpen() ) ); |
197 | a->addTo( bar ); | 197 | a->addTo( bar ); |
198 | a->addTo( file ); | 198 | a->addTo( file ); |
199 | 199 | ||
200 | /* | 200 | /* |
201 | a = new QAction( tr( "Revert" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); | 201 | a = new QAction( tr( "Revert" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); |
202 | connect( a, SIGNAL( activated() ), this, SLOT( fileRevert() ) ); | 202 | connect( a, SIGNAL( activated() ), this, SLOT( fileRevert() ) ); |
203 | a->addTo( file ); | 203 | a->addTo( file ); |
204 | 204 | ||
205 | a = new QAction( tr( "Cut" ), Resource::loadPixmap( "cut" ), QString::null, 0, this, 0 ); | 205 | a = new QAction( tr( "Cut" ), Resource::loadPixmap( "cut" ), QString::null, 0, this, 0 ); |
206 | connect( a, SIGNAL( activated() ), this, SLOT( editCut() ) ); | 206 | connect( a, SIGNAL( activated() ), this, SLOT( editCut() ) ); |
207 | a->addTo( editBar ); | 207 | a->addTo( editBar ); |
208 | a->addTo( edit ); | 208 | a->addTo( edit ); |
209 | */ | 209 | */ |
210 | 210 | ||
211 | a = new QAction( tr( "Info" ), QString::null, 0, this, NULL); | 211 | a = new QAction( tr( "Info" ), QString::null, 0, this, NULL); |
212 | connect( a, SIGNAL( activated() ), this, SLOT( showinfo() ) ); | 212 | connect( a, SIGNAL( activated() ), this, SLOT( showinfo() ) ); |
213 | a->addTo( file ); | 213 | a->addTo( file ); |
214 | 214 | ||
215 | a = new QAction( tr( "Start Block" ), QString::null, 0, this, NULL); | 215 | a = new QAction( tr( "Start Block" ), QString::null, 0, this, NULL); |
216 | connect( a, SIGNAL( activated() ), this, SLOT( editMark() ) ); | 216 | connect( a, SIGNAL( activated() ), this, SLOT( editMark() ) ); |
217 | file->insertSeparator(); | 217 | file->insertSeparator(); |
218 | a->addTo( file ); | 218 | a->addTo( file ); |
219 | 219 | ||
220 | a = new QAction( tr( "Copy Block" ), QString::null, 0, this, NULL); | 220 | a = new QAction( tr( "Copy Block" ), QString::null, 0, this, NULL); |
221 | connect( a, SIGNAL( activated() ), this, SLOT( editCopy() ) ); | 221 | connect( a, SIGNAL( activated() ), this, SLOT( editCopy() ) ); |
222 | a->addTo( file ); | 222 | a->addTo( file ); |
223 | 223 | ||
224 | a = m_scrollButton = new QAction( tr( "Scroll" ), Resource::loadPixmap( "panel-arrow-down" ), QString::null, 0, this, 0, true ); | 224 | a = m_scrollButton = new QAction( tr( "Scroll" ), Resource::loadPixmap( "opie-reader/panel-arrow-down" ), QString::null, 0, this, 0, true ); |
225 | // connect( a, SIGNAL( activated() ), this, SLOT( autoScroll() ) ); | 225 | // connect( a, SIGNAL( activated() ), this, SLOT( autoScroll() ) ); |
226 | a->setOn(false); | 226 | a->setOn(false); |
227 | connect( a, SIGNAL( toggled(bool) ), this, SLOT( autoScroll(bool) ) ); | 227 | connect( a, SIGNAL( toggled(bool) ), this, SLOT( autoScroll(bool) ) ); |
228 | file->insertSeparator(); | 228 | file->insertSeparator(); |
229 | a->addTo( bar ); | 229 | a->addTo( bar ); |
230 | a->addTo( file ); | 230 | a->addTo( file ); |
231 | 231 | ||
232 | /* | 232 | /* |
233 | a = new QAction( tr( "Find" ), QString::null, 0, this, NULL, true ); | 233 | a = new QAction( tr( "Find" ), QString::null, 0, this, NULL, true ); |
234 | // connect( a, SIGNAL( activated() ), this, SLOT( pagedn() ) ); | 234 | // connect( a, SIGNAL( activated() ), this, SLOT( pagedn() ) ); |
235 | a->addTo( file ); | 235 | a->addTo( file ); |
236 | 236 | ||
237 | a = new QAction( tr( "Find Again" ), QString::null, 0, this, NULL, true ); | 237 | a = new QAction( tr( "Find Again" ), QString::null, 0, this, NULL, true ); |
238 | // connect( a, SIGNAL( activated() ), this, SLOT( pagedn() ) ); | 238 | // connect( a, SIGNAL( activated() ), this, SLOT( pagedn() ) ); |
239 | a->addTo( file ); | 239 | a->addTo( file ); |
240 | */ | 240 | */ |
241 | a = new QAction( tr( "Jump" ), QString::null, 0, this, NULL); | 241 | a = new QAction( tr( "Jump" ), QString::null, 0, this, NULL); |
242 | connect( a, SIGNAL( activated() ), this, SLOT( jump() ) ); | 242 | connect( a, SIGNAL( activated() ), this, SLOT( jump() ) ); |
243 | a->addTo( file ); | 243 | a->addTo( file ); |
244 | 244 | ||
245 | a = new QAction( tr( "Page/Line scroll" ), QString::null, 0, this, NULL, true ); | 245 | a = new QAction( tr( "Page/Line scroll" ), QString::null, 0, this, NULL, true ); |
246 | connect( a, SIGNAL( toggled(bool) ), this, SLOT( pagemode(bool) ) ); | 246 | connect( a, SIGNAL( toggled(bool) ), this, SLOT( pagemode(bool) ) ); |
247 | a->setOn(reader->m_bpagemode); | 247 | a->setOn(reader->m_bpagemode); |
248 | a->addTo( file ); | 248 | a->addTo( file ); |
249 | 249 | ||
250 | a = new QAction( tr( "Set Overlap" ), QString::null, 0, this, NULL); | 250 | a = new QAction( tr( "Set Overlap" ), QString::null, 0, this, NULL); |
251 | connect( a, SIGNAL( activated() ), this, SLOT( setoverlap() ) ); | 251 | connect( a, SIGNAL( activated() ), this, SLOT( setoverlap() ) ); |
252 | a->addTo( file ); | 252 | a->addTo( file ); |
253 | 253 | ||
254 | a = new QAction( tr( "Set Dictionary" ), QString::null, 0, this, NULL); | 254 | a = new QAction( tr( "Set Dictionary" ), QString::null, 0, this, NULL); |
255 | connect( a, SIGNAL( activated() ), this, SLOT( settarget() ) ); | 255 | connect( a, SIGNAL( activated() ), this, SLOT( settarget() ) ); |
256 | a->addTo( file ); | 256 | a->addTo( file ); |