summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp
authorllornkcor <llornkcor>2004-07-08 08:05:50 (UTC)
committer llornkcor <llornkcor>2004-07-08 08:05:50 (UTC)
commita7b08ae7dbce8675981321828e61c949968d1afe (patch) (side-by-side diff)
treea59410434f417d016ac109edcd03538371c70338 /noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp
parentdebb74bbf33b42d1ad38f4437cf9ad054978d71b (diff)
downloadopie-a7b08ae7dbce8675981321828e61c949968d1afe.zip
opie-a7b08ae7dbce8675981321828e61c949968d1afe.tar.gz
opie-a7b08ae7dbce8675981321828e61c949968d1afe.tar.bz2
remove non needed debug output
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/gutenbrowserData.cpp19
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
@@ -14,6 +14,7 @@
//#include "gutenbrowserData.h"
#include "gutenbrowser.h"
+#include "multiline_ex.h"
/* OPIE */
#include <opie2/odebug.h>
@@ -61,7 +62,7 @@ void Gutenbrowser::initConfig() {
// #endif
}
- // odebug << "init file is " << iniFile << "" << oendl;
+ qDebug("init file is " + iniFile );;
#ifdef Q_WS_QWS
useSplitter=FALSE;
@@ -151,9 +152,9 @@ void Gutenbrowser::initConfig() {
qExit=config.readEntry("queryExit","TRUE");
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;
}
// bookmarks
@@ -165,7 +166,7 @@ void Gutenbrowser::initConfig() {
void Gutenbrowser::initMenuBar()
{
-// odebug << "Starting menu init." << oendl;
+ qDebug("Starting menu init.");
// menuBar entry fileMenu
menubar = new QPEMenuBar(this);
@@ -211,11 +212,10 @@ 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 );
@@ -245,7 +245,6 @@ void Gutenbrowser::initButtonBar()
dictionaryButton->setFocusPolicy( QWidget::TabFocus );
InfoBar = new QPushButton( this, "Info_Bar" );
-// odebug << "Infobar" << oendl;
// if(!useSplitter) {
buttonsHidden=FALSE;
@@ -262,12 +261,12 @@ void Gutenbrowser::initButtonBar()
topLayout->setSpacing(0);
topLayout->addLayout( buttons2,0);
-
}
/* STATUSBAR*/
void Gutenbrowser::initStatusBar()
{
+ qDebug("statusbar");
// #ifndef Q_WS_QWS
// statusBar = new QStatusBar( this, "Status Bar");
@@ -280,7 +279,6 @@ void Gutenbrowser::initView()
// set the main widget here
// QFont defaultFont( "charter", 10, 50, 0 );
Lview = new MultiLine_Ex(this);
-
Config cfg("Gutenbrowser");
cfg.setGroup("Font");
@@ -297,7 +295,7 @@ 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);
}
@@ -329,4 +327,5 @@ void Gutenbrowser::initView()
Lview->hide();
topLayout->addLayout( edits, 0);
+ qDebug("end initView");
}