summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader
authorllornkcor <llornkcor>2002-09-14 02:39:44 (UTC)
committer llornkcor <llornkcor>2002-09-14 02:39:44 (UTC)
commit2f55be65436cb05a8580f4a436f94bce9de48da7 (patch) (side-by-side diff)
tree5edbb3683681bd14f263a6b7fe259dbcffa51f22 /noncore/apps/opie-reader
parent2d0c1ffcb39f9fac8193ed2e9e93794de0bd7975 (diff)
downloadopie-2f55be65436cb05a8580f4a436f94bce9de48da7.zip
opie-2f55be65436cb05a8580f4a436f94bce9de48da7.tar.gz
opie-2f55be65436cb05a8580f4a436f94bce9de48da7.tar.bz2
opie specific resource change and messagbox caption to opiereader
Diffstat (limited to 'noncore/apps/opie-reader') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/Bkmks.cpp2
-rw-r--r--noncore/apps/opie-reader/BuffDoc.cpp2
-rw-r--r--noncore/apps/opie-reader/QTReaderApp.cpp46
3 files changed, 25 insertions, 25 deletions
diff --git a/noncore/apps/opie-reader/Bkmks.cpp b/noncore/apps/opie-reader/Bkmks.cpp
index 92ed69f..0cb9ea9 100644
--- a/noncore/apps/opie-reader/Bkmks.cpp
+++ b/noncore/apps/opie-reader/Bkmks.cpp
@@ -172,3 +172,3 @@ CList<Bkmk>* BkmkFile::readall()
{
- if (QMessageBox::warning(NULL, "Old bookmark file!", "Which version of QTReader\ndid you upgrade from?", "0_4*", "Any other version") == 0)
+ if (QMessageBox::warning(NULL, "Old bookmark file!", "Which version of OpieReader\ndid you upgrade from?", "0_4*", "Any other version") == 0)
{
diff --git a/noncore/apps/opie-reader/BuffDoc.cpp b/noncore/apps/opie-reader/BuffDoc.cpp
index e37b136..d4541ea 100644
--- a/noncore/apps/opie-reader/BuffDoc.cpp
+++ b/noncore/apps/opie-reader/BuffDoc.cpp
@@ -211,3 +211,3 @@ int BuffDoc::openfile(QWidget* _parent, const char *src)
delete exp;
- QMessageBox::information(_parent, "QTReader", "Unknown file compression type","Try another file");
+ QMessageBox::information(_parent, "OpieReader", "Unknown file compression type","Try another file");
return ret;
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
@@ -101,3 +101,3 @@ void QTReaderApp::listBkmkFiles()
else
- QMessageBox::information(this, "QTReader", "No bookmark files");
+ QMessageBox::information(this, "OpieReader", "No bookmark files");
}
@@ -120,3 +120,3 @@ QTReaderApp::QTReaderApp( QWidget *parent, const char *name, WFlags f )
- setIcon( Resource::loadPixmap( "uqtreader" ) );
+ setIcon( Resource::loadPixmap( "opie-reader/uqtreader" ) );
@@ -257,3 +257,3 @@ 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() ) );
@@ -632,3 +632,3 @@ void QTReaderApp::msgHandler(const QCString& _msg, const QByteArray& _data)
stream >> info;
- QMessageBox::information(this, "QTReader", info);
+ QMessageBox::information(this, "OpieReader", info);
}
@@ -638,3 +638,3 @@ void QTReaderApp::msgHandler(const QCString& _msg, const QByteArray& _data)
stream >> info;
- QMessageBox::warning(this, "QTReader", info);
+ QMessageBox::warning(this, "OpieReader", info);
}
@@ -753,3 +753,3 @@ void QTReaderApp::msgHandler(const QCString& _msg, const QByteArray& _data)
{
- QMessageBox::information(this, "QTReader", QString("Can't find\n")+info);
+ QMessageBox::information(this, "OpieReader", QString("Can't find\n")+info);
pos = start;
@@ -916,3 +916,3 @@ void QTReaderApp::TBD()
{
- QMessageBox::information(this, "QTReader", "Not yet implemented", 1);
+ QMessageBox::information(this, "OpieReader", "Not yet implemented", 1);
}
@@ -921,3 +921,3 @@ 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);
}
@@ -943,3 +943,3 @@ void QTReaderApp::fileOpen()
{
- 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();
@@ -955,3 +955,3 @@ void QTReaderApp::fileOpen()
*/
- fileBrowser* fb = new fileBrowser(this,"QTReader",TRUE,
+ fileBrowser* fb = new fileBrowser(this,"OpieReader",TRUE,
0,
@@ -975,3 +975,3 @@ void QTReaderApp::showinfo()
{
- QMessageBox::information(this, "QTReader", "No file loaded", 1);
+ QMessageBox::information(this, "OpieReader", "No file loaded", 1);
}
@@ -1022,3 +1022,3 @@ void QTReaderApp::addAnno(const QString& name, const QString& text)
{
- 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);
}
@@ -1079,3 +1079,3 @@ void QTReaderApp::addanno()
{
- QMessageBox::information(this, "QTReader", "No file loaded", 1);
+ QMessageBox::information(this, "OpieReader", "No file loaded", 1);
}
@@ -1233,3 +1233,3 @@ void QTReaderApp::do_overlap(const QString& lcn)
else
- QMessageBox::information(this, "QTReader", "Must be a number");
+ QMessageBox::information(this, "OpieReader", "Must be a number");
}
@@ -1248,3 +1248,3 @@ void QTReaderApp::do_mono(const QString& lcn)
else
- QMessageBox::information(this, "QTReader", "Must be a number");
+ QMessageBox::information(this, "OpieReader", "Must be a number");
}
@@ -1420,3 +1420,3 @@ void QTReaderApp::openFile( const DocLnk &f )
{
- QMessageBox::information(this, "QTReader", "File does not exist");
+ QMessageBox::information(this, "OpieReader", "File does not exist");
}
@@ -1488,3 +1488,3 @@ void QTReaderApp::updateCaption()
if ( !doc )
- setCaption( tr("QTReader") );
+ setCaption( tr("OpieReader") );
else {
@@ -1493,3 +1493,3 @@ void QTReaderApp::updateCaption()
s = tr( "Unnamed" );
- setCaption( s + " - " + tr("QTReader") );
+ setCaption( s + " - " + tr("OpieReader") );
}
@@ -1534,3 +1534,3 @@ void QTReaderApp::closeEvent( QCloseEvent *e )
{
- 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();
@@ -1589,3 +1589,3 @@ void QTReaderApp::listbkmk()
else
- QMessageBox::information(this, "QTReader", "No bookmarks in memory");
+ QMessageBox::information(this, "OpieReader", "No bookmarks in memory");
}
@@ -1648,3 +1648,3 @@ void QTReaderApp::do_jump(const QString& lcn)
else
- QMessageBox::information(this, "QTReader", "Must be a number");
+ QMessageBox::information(this, "OpieReader", "Must be a number");
}
@@ -1688,3 +1688,3 @@ void QTReaderApp::do_settarget(const QString& _txt)
m_targetmsg = "";
- QMessageBox::information(this, "QTReader", "Format is\nappname/messagename");
+ QMessageBox::information(this, "OpieReader", "Format is\nappname/messagename");
}
@@ -1923,3 +1923,3 @@ void QTReaderApp::do_addbkmk(const QString& text)
{
- 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);
}