Diffstat (limited to 'noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp b/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp index a226258..9473ba9 100644 --- a/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp +++ b/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp @@ -15,4 +15,5 @@ //#include "gutenbrowserData.h" #include "gutenbrowser.h" +#include "multiline_ex.h" /* OPIE */ @@ -62,5 +63,5 @@ void Gutenbrowser::initConfig() { } - // odebug << "init file is " << iniFile << "" << oendl; + qDebug("init file is " + iniFile );; #ifdef Q_WS_QWS @@ -152,7 +153,7 @@ void Gutenbrowser::initConfig() { if(qExit=="TRUE") { b_queryExit=TRUE; -// odebug << "Please query before leaving the library." << oendl; +qDebug("lease query before leaving the library.");; } else { -// odebug << "Please DO NOT query before leaving the library." << oendl; + qDebug("Please DO NOT query before leaving the library."); b_queryExit=FALSE; } @@ -166,5 +167,5 @@ void Gutenbrowser::initConfig() { void Gutenbrowser::initMenuBar() { -// odebug << "Starting menu init." << oendl; + qDebug("Starting menu init."); // menuBar entry fileMenu menubar = new QPEMenuBar(this); @@ -212,9 +213,8 @@ void Gutenbrowser::initMenuBar() void Gutenbrowser::initButtonBar() { -//odebug << "Starting buttonbar init." << oendl; + qDebug("Starting buttonbar init."); OpenButton = new QPushButton( this, "OpenButton" ); OpenButton->setFocusPolicy( QWidget::TabFocus ); - LibraryButton = new QPushButton( this, "LibraryButton" ); LibraryButton->setFocusPolicy( QWidget::TabFocus ); @@ -246,5 +246,4 @@ void Gutenbrowser::initButtonBar() InfoBar = new QPushButton( this, "Info_Bar" ); -// odebug << "Infobar" << oendl; // if(!useSplitter) { @@ -263,5 +262,4 @@ void Gutenbrowser::initButtonBar() topLayout->setSpacing(0); topLayout->addLayout( buttons2,0); - } @@ -269,4 +267,5 @@ void Gutenbrowser::initButtonBar() void Gutenbrowser::initStatusBar() { + qDebug("statusbar"); // #ifndef Q_WS_QWS @@ -281,5 +280,4 @@ void Gutenbrowser::initView() // QFont defaultFont( "charter", 10, 50, 0 ); Lview = new MultiLine_Ex(this); - Config cfg("Gutenbrowser"); cfg.setGroup("Font"); @@ -298,5 +296,5 @@ void Gutenbrowser::initView() QString italic=cfg.readEntry("Italic","FALSE"); if(italic=="TRUE") { - odebug << "Set Italic font" << oendl; + qDebug("Set Italic font");; defaultFont = fdb.font(family,"Regular",i_size,charSet); //workaround defaultFont.setItalic(TRUE); @@ -330,3 +328,4 @@ void Gutenbrowser::initView() topLayout->addLayout( edits, 0); + qDebug("end initView"); } |