author | llornkcor <llornkcor> | 2002-07-02 12:46:18 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-02 12:46:18 (UTC) |
commit | d4a5bcbba0e6f67ef9d41e08c7d5ae598caa61a8 (patch) (side-by-side diff) | |
tree | 36de80f384f0a6c51efef6bed184a77ece608eae | |
parent | dbcbad1d7252e877e485020966eb25e9f4a34f49 (diff) | |
download | opie-d4a5bcbba0e6f67ef9d41e08c7d5ae598caa61a8.zip opie-d4a5bcbba0e6f67ef9d41e08c7d5ae598caa61a8.tar.gz opie-d4a5bcbba0e6f67ef9d41e08c7d5ae598caa61a8.tar.bz2 |
use icon on opie-reader pics dir
-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 @@ -176,97 +176,97 @@ QTReaderApp::QTReaderApp( QWidget *parent, const char *name, WFlags f ) reader->brepara = config.readBoolEntry( "Repara", false ); reader->bdblspce = config.readBoolEntry( "DoubleSpace", false ); reader->bindenter = config.readNumEntry( "Indent", 0 ); reader->m_textsize = config.readNumEntry( "FontSize", 12 ); reader->m_bBold = config.readBoolEntry( "Bold", false ); reader->m_delay = config.readNumEntry( "ScrollDelay", 5184); reader->m_lastfile = config.readEntry( "LastFile", QString::null ); reader->m_lastposn = config.readNumEntry( "LastPosn", 0 ); reader->m_bpagemode = config.readBoolEntry( "PageMode", true ); reader->m_bMonoSpaced = config.readBoolEntry( "MonoSpaced", false); reader->m_fontname = config.readEntry( "Fontname", "helvetica" ); reader->m_encd = config.readNumEntry( "Encoding", 0 ); reader->m_charpc = config.readNumEntry( "CharSpacing", 100 ); reader->m_overlap = config.readNumEntry( "Overlap", 0 ); reader->m_targetapp = config.readEntry( "TargetApp", QString::null ); reader->m_targetmsg = config.readEntry( "TargetMsg", QString::null ); reader->init(); editorStack->addWidget( reader, get_unique_id() ); QAction *a = new QAction( tr( "Open" ), Resource::loadPixmap( "fileopen" ), QString::null, 0, this, 0 ); connect( a, SIGNAL( activated() ), this, SLOT( fileOpen() ) ); a->addTo( bar ); a->addTo( file ); /* a = new QAction( tr( "Revert" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); connect( a, SIGNAL( activated() ), this, SLOT( fileRevert() ) ); a->addTo( file ); a = new QAction( tr( "Cut" ), Resource::loadPixmap( "cut" ), QString::null, 0, this, 0 ); connect( a, SIGNAL( activated() ), this, SLOT( editCut() ) ); a->addTo( editBar ); a->addTo( edit ); */ a = new QAction( tr( "Info" ), QString::null, 0, this, NULL); connect( a, SIGNAL( activated() ), this, SLOT( showinfo() ) ); a->addTo( file ); a = new QAction( tr( "Start Block" ), QString::null, 0, this, NULL); connect( a, SIGNAL( activated() ), this, SLOT( editMark() ) ); file->insertSeparator(); a->addTo( file ); a = new QAction( tr( "Copy Block" ), QString::null, 0, this, NULL); connect( a, SIGNAL( activated() ), this, SLOT( editCopy() ) ); a->addTo( file ); - a = m_scrollButton = new QAction( tr( "Scroll" ), Resource::loadPixmap( "panel-arrow-down" ), QString::null, 0, this, 0, true ); + a = m_scrollButton = new QAction( tr( "Scroll" ), Resource::loadPixmap( "opie-reader/panel-arrow-down" ), QString::null, 0, this, 0, true ); // connect( a, SIGNAL( activated() ), this, SLOT( autoScroll() ) ); a->setOn(false); connect( a, SIGNAL( toggled(bool) ), this, SLOT( autoScroll(bool) ) ); file->insertSeparator(); a->addTo( bar ); a->addTo( file ); /* a = new QAction( tr( "Find" ), QString::null, 0, this, NULL, true ); // connect( a, SIGNAL( activated() ), this, SLOT( pagedn() ) ); a->addTo( file ); a = new QAction( tr( "Find Again" ), QString::null, 0, this, NULL, true ); // connect( a, SIGNAL( activated() ), this, SLOT( pagedn() ) ); a->addTo( file ); */ a = new QAction( tr( "Jump" ), QString::null, 0, this, NULL); connect( a, SIGNAL( activated() ), this, SLOT( jump() ) ); a->addTo( file ); a = new QAction( tr( "Page/Line scroll" ), QString::null, 0, this, NULL, true ); connect( a, SIGNAL( toggled(bool) ), this, SLOT( pagemode(bool) ) ); a->setOn(reader->m_bpagemode); a->addTo( file ); a = new QAction( tr( "Set Overlap" ), QString::null, 0, this, NULL); connect( a, SIGNAL( activated() ), this, SLOT( setoverlap() ) ); a->addTo( file ); a = new QAction( tr( "Set Dictionary" ), QString::null, 0, this, NULL); connect( a, SIGNAL( activated() ), this, SLOT( settarget() ) ); a->addTo( file ); /* a = new QAction( tr( "Import" ), QString::null, 0, this, NULL ); connect( a, SIGNAL( activated() ), this, SLOT( importFiles() ) ); a->addTo( file ); */ a = new QAction( tr( "Up" ), Resource::loadPixmap( "up" ), QString::null, 0, this, 0 ); connect( a, SIGNAL( activated() ), this, SLOT( pageup() ) ); a->addTo( editBar ); a = new QAction( tr( "Down" ), Resource::loadPixmap( "down" ), QString::null, 0, this, 0 ); connect( a, SIGNAL( activated() ), this, SLOT( pagedn() ) ); a->addTo( editBar ); /* |