Diffstat (limited to 'noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp b/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp index c9149ac..a226258 100644 --- a/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp +++ b/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp @@ -13,2 +13,3 @@ ***************************************************************************/ + //#include "gutenbrowserData.h" @@ -16,2 +17,4 @@ +/* OPIE */ +#include <opie2/odebug.h> #include <qpe/config.h> @@ -22,2 +25,3 @@ +/* QT */ #include <qfontinfo.h> @@ -37,3 +41,3 @@ void Gutenbrowser::initSlots() { connect(mainList,SIGNAL(clicked(QListBoxItem *)),SLOT(listClickedSlot(QListBoxItem *))); - connect(bookmarksMenu,SIGNAL(activated(int)),SLOT(Bookmark(int))); + connect(bookmarksMenu,SIGNAL(activated(int)),SLOT(Bookmark(int))); } @@ -41,3 +45,3 @@ void Gutenbrowser::initSlots() { void Gutenbrowser::initConfig() { -//qDebug("Starting configuration."); +//odebug << "Starting configuration." << oendl; QDir library(local_library); @@ -59,3 +63,3 @@ void Gutenbrowser::initConfig() { } - // qDebug( "init file is %s",iniFile.latin1()); + // odebug << "init file is " << iniFile << "" << oendl; @@ -139,3 +143,3 @@ void Gutenbrowser::initConfig() { - //bool ok2; + //bool ok2; QString temp; @@ -149,5 +153,5 @@ void Gutenbrowser::initConfig() { b_queryExit=TRUE; -// qDebug("Please query before leaving the library."); +// odebug << "Please query before leaving the library." << oendl; } else { -// qDebug("Please DO NOT query before leaving the library."); +// odebug << "Please DO NOT query before leaving the library." << oendl; b_queryExit=FALSE; @@ -157,3 +161,3 @@ void Gutenbrowser::initConfig() { // QString tmpTitle=config.readEntry(file_name,""); - + @@ -163,3 +167,3 @@ void Gutenbrowser::initMenuBar() { -// qDebug("Starting menu init."); +// odebug << "Starting menu init." << oendl; // menuBar entry fileMenu @@ -178,5 +182,5 @@ void Gutenbrowser::initMenuBar() editMenu=new QPopupMenu(); - + editMenu->insertItem(Resource::loadPixmap("up"), "Top", - this, SLOT(TopBtn()) ); + this, SLOT(TopBtn()) ); editMenu->insertItem( Resource::loadPixmap("back"), "Beginning", @@ -185,3 +189,3 @@ void Gutenbrowser::initMenuBar() this, SLOT(SearchBtn()) ); - + editMenu->insertItem("Clear", this, SLOT(ClearEdit()) ); @@ -209,3 +213,3 @@ void Gutenbrowser::initButtonBar() { -//qDebug("Starting buttonbar init."); +//odebug << "Starting buttonbar init." << oendl; @@ -224,3 +228,3 @@ void Gutenbrowser::initButtonBar() // ForwardButton->setAutoRepeat(TRUE); - + SearchButton = new QPushButton( this, "SearchButton" ); @@ -236,3 +240,3 @@ void Gutenbrowser::initButtonBar() bookmarksMenu->insertItem("Last Set", this, SLOT(Bookmark( int) )); - + lastBmkButton->setPopup(bookmarksMenu); @@ -243,3 +247,3 @@ void Gutenbrowser::initButtonBar() InfoBar = new QPushButton( this, "Info_Bar" ); -// qDebug("Infobar"); +// odebug << "Infobar" << oendl; // if(!useSplitter) { @@ -278,3 +282,3 @@ void Gutenbrowser::initView() Lview = new MultiLine_Ex(this); - + Config cfg("Gutenbrowser"); @@ -295,3 +299,3 @@ void Gutenbrowser::initView() if(italic=="TRUE") { - qDebug("Set Italic font"); + odebug << "Set Italic font" << oendl; defaultFont = fdb.font(family,"Regular",i_size,charSet); //workaround |