summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp27
1 files changed, 13 insertions, 14 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
@@ -16,2 +16,3 @@
#include "gutenbrowser.h"
+#include "multiline_ex.h"
@@ -63,3 +64,3 @@ void Gutenbrowser::initConfig() {
}
- // odebug << "init file is " << iniFile << "" << oendl;
+ qDebug("init file is " + iniFile );;
@@ -153,5 +154,5 @@ void Gutenbrowser::initConfig() {
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;
@@ -167,3 +168,3 @@ void Gutenbrowser::initMenuBar()
{
-// odebug << "Starting menu init." << oendl;
+ qDebug("Starting menu init.");
// menuBar entry fileMenu
@@ -213,3 +214,3 @@ void Gutenbrowser::initButtonBar()
{
-//odebug << "Starting buttonbar init." << oendl;
+ qDebug("Starting buttonbar init.");
@@ -217,3 +218,2 @@ void Gutenbrowser::initButtonBar()
OpenButton->setFocusPolicy( QWidget::TabFocus );
-
LibraryButton = new QPushButton( this, "LibraryButton" );
@@ -247,3 +247,2 @@ void Gutenbrowser::initButtonBar()
InfoBar = new QPushButton( this, "Info_Bar" );
-// odebug << "Infobar" << oendl;
// if(!useSplitter) {
@@ -264,3 +263,2 @@ void Gutenbrowser::initButtonBar()
topLayout->addLayout( buttons2,0);
-
}
@@ -270,2 +268,3 @@ void Gutenbrowser::initStatusBar()
{
+ qDebug("statusbar");
// #ifndef Q_WS_QWS
@@ -282,3 +281,2 @@ void Gutenbrowser::initView()
Lview = new MultiLine_Ex(this);
-
Config cfg("Gutenbrowser");
@@ -287,3 +285,3 @@ void Gutenbrowser::initView()
FontDatabase fdb;
- QFont defaultFont=Lview->font();
+ QFont defaultFont = Lview->font();
QFontInfo fontInfo(defaultFont);
@@ -297,6 +295,6 @@ void Gutenbrowser::initView()
- QString italic=cfg.readEntry("Italic","FALSE");
+ QString italic = cfg.readEntry("Italic","FALSE");
if(italic=="TRUE") {
- odebug << "Set Italic font" << oendl;
- defaultFont = fdb.font(family,"Regular",i_size,charSet); //workaround
+ qDebug("Set Italic font");;
+ defaultFont = fdb.font( family, "Regular", i_size,charSet); //workaround
defaultFont.setItalic(TRUE);
@@ -314,3 +312,3 @@ void Gutenbrowser::initView()
Lview->setWordWrap(QMultiLineEdit::NoWrap);
- useWrap=false;
+ useWrap = false;
}
@@ -331,2 +329,3 @@ void Gutenbrowser::initView()
topLayout->addLayout( edits, 0);
+ qDebug("end initView");
}