summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/QTReaderApp.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/QTReaderApp.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/QTReaderApp.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/noncore/apps/opie-reader/QTReaderApp.cpp b/noncore/apps/opie-reader/QTReaderApp.cpp
index 0608b66..ef1f4f1 100644
--- a/noncore/apps/opie-reader/QTReaderApp.cpp
+++ b/noncore/apps/opie-reader/QTReaderApp.cpp
@@ -100,5 +100,5 @@ void QTReaderApp::listBkmkFiles()
}
else
- QMessageBox::information(this, "QTReader", "No bookmark files");
+ QMessageBox::information(this, "OpieReader", "No bookmark files");
}
@@ -119,5 +119,5 @@ QTReaderApp::QTReaderApp( QWidget *parent, const char *name, WFlags f )
setToolBarsMovable( FALSE );
- setIcon( Resource::loadPixmap( "uqtreader" ) );
+ setIcon( Resource::loadPixmap( "opie-reader/uqtreader" ) );
QPEToolBar *bar = new QPEToolBar( this );
@@ -256,5 +256,5 @@ QTReaderApp::QTReaderApp( QWidget *parent, const char *name, WFlags f )
- 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);
@@ -631,5 +631,5 @@ void QTReaderApp::msgHandler(const QCString& _msg, const QByteArray& _data)
QString info;
stream >> info;
- QMessageBox::information(this, "QTReader", info);
+ QMessageBox::information(this, "OpieReader", info);
}
else if ( msg == "warn(QString)" )
@@ -637,5 +637,5 @@ void QTReaderApp::msgHandler(const QCString& _msg, const QByteArray& _data)
QString info;
stream >> info;
- QMessageBox::warning(this, "QTReader", info);
+ QMessageBox::warning(this, "OpieReader", info);
}
@@ -752,5 +752,5 @@ void QTReaderApp::msgHandler(const QCString& _msg, const QByteArray& _data)
if (!reader->buffdoc.getline(&test,reader->width()))
{
- QMessageBox::information(this, "QTReader", QString("Can't find\n")+info);
+ QMessageBox::information(this, "OpieReader", QString("Can't find\n")+info);
pos = start;
break;
@@ -915,10 +915,10 @@ void QTReaderApp::autoScroll(bool _b)
void QTReaderApp::TBD()
{
- QMessageBox::information(this, "QTReader", "Not yet implemented", 1);
+ QMessageBox::information(this, "OpieReader", "Not yet implemented", 1);
}
void QTReaderApp::TBDzoom()
{
- QMessageBox::information(this, "QTReader", "Zooming is done interactively\nTry left/right cursor keys", 1);
+ QMessageBox::information(this, "OpieReader", "Zooming is done interactively\nTry left/right cursor keys", 1);
}
@@ -942,5 +942,5 @@ void QTReaderApp::fileOpen()
if (m_fBkmksChanged)
{
- if (QMessageBox::warning(this, "QTReader", "Save bookmarks?", "Save", "Don't bother") == 0)
+ if (QMessageBox::warning(this, "OpieReader", "Save bookmarks?", "Save", "Don't bother") == 0)
savebkmks();
}
@@ -954,5 +954,5 @@ void QTReaderApp::fileOpen()
fileSelector->reread();
*/
- fileBrowser* fb = new fileBrowser(this,"QTReader",TRUE,
+ fileBrowser* fb = new fileBrowser(this,"OpieReader",TRUE,
0,
// WStyle_Customize | WStyle_NoBorderEx,
@@ -974,5 +974,5 @@ void QTReaderApp::showinfo()
if (reader->empty())
{
- QMessageBox::information(this, "QTReader", "No file loaded", 1);
+ QMessageBox::information(this, "OpieReader", "No file loaded", 1);
}
else
@@ -1021,5 +1021,5 @@ void QTReaderApp::addAnno(const QString& name, const QString& text)
if (name.isEmpty())
{
- QMessageBox::information(this, "QTReader", "Need a name for the bookmark\nPlease try again", 1);
+ QMessageBox::information(this, "OpieReader", "Need a name for the bookmark\nPlease try again", 1);
}
else
@@ -1078,5 +1078,5 @@ void QTReaderApp::addanno()
if (reader->empty())
{
- QMessageBox::information(this, "QTReader", "No file loaded", 1);
+ QMessageBox::information(this, "OpieReader", "No file loaded", 1);
}
else
@@ -1232,5 +1232,5 @@ void QTReaderApp::do_overlap(const QString& lcn)
}
else
- QMessageBox::information(this, "QTReader", "Must be a number");
+ QMessageBox::information(this, "OpieReader", "Must be a number");
}
@@ -1247,5 +1247,5 @@ void QTReaderApp::do_mono(const QString& lcn)
}
else
- QMessageBox::information(this, "QTReader", "Must be a number");
+ QMessageBox::information(this, "OpieReader", "Must be a number");
}
@@ -1419,5 +1419,5 @@ void QTReaderApp::openFile( const DocLnk &f )
else
{
- QMessageBox::information(this, "QTReader", "File does not exist");
+ QMessageBox::information(this, "OpieReader", "File does not exist");
}
@@ -1487,10 +1487,10 @@ void QTReaderApp::updateCaption()
{
if ( !doc )
- setCaption( tr("QTReader") );
+ setCaption( tr("OpieReader") );
else {
QString s = doc->name();
if ( s.isEmpty() )
s = tr( "Unnamed" );
- setCaption( s + " - " + tr("QTReader") );
+ setCaption( s + " - " + tr("OpieReader") );
}
}
@@ -1533,5 +1533,5 @@ void QTReaderApp::closeEvent( QCloseEvent *e )
if (m_fBkmksChanged && pBkmklist != NULL)
{
- if (QMessageBox::warning(this, "QTReader", "Save bookmarks?", "Save", "Don't bother") == 0)
+ if (QMessageBox::warning(this, "OpieReader", "Save bookmarks?", "Save", "Don't bother") == 0)
savebkmks();
delete pBkmklist;
@@ -1588,5 +1588,5 @@ void QTReaderApp::listbkmk()
}
else
- QMessageBox::information(this, "QTReader", "No bookmarks in memory");
+ QMessageBox::information(this, "OpieReader", "No bookmarks in memory");
}
@@ -1647,5 +1647,5 @@ void QTReaderApp::do_jump(const QString& lcn)
reader->locate(ulcn);
else
- QMessageBox::information(this, "QTReader", "Must be a number");
+ QMessageBox::information(this, "OpieReader", "Must be a number");
}
@@ -1687,5 +1687,5 @@ void QTReaderApp::do_settarget(const QString& _txt)
m_targetapp = "";
m_targetmsg = "";
- QMessageBox::information(this, "QTReader", "Format is\nappname/messagename");
+ QMessageBox::information(this, "OpieReader", "Format is\nappname/messagename");
}
else
@@ -1922,5 +1922,5 @@ void QTReaderApp::do_addbkmk(const QString& text)
if (text.isEmpty())
{
- QMessageBox::information(this, "QTReader", "Need a name for the bookmark\nSelect add again", 1);
+ QMessageBox::information(this, "OpieReader", "Need a name for the bookmark\nSelect add again", 1);
}
else