summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-07-08 08:05:50 (UTC)
committer llornkcor <llornkcor>2004-07-08 08:05:50 (UTC)
commita7b08ae7dbce8675981321828e61c949968d1afe (patch) (unidiff)
treea59410434f417d016ac109edcd03538371c70338
parentdebb74bbf33b42d1ad38f4437cf9ad054978d71b (diff)
downloadopie-a7b08ae7dbce8675981321828e61c949968d1afe.zip
opie-a7b08ae7dbce8675981321828e61c949968d1afe.tar.gz
opie-a7b08ae7dbce8675981321828e61c949968d1afe.tar.bz2
remove non needed debug output
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
@@ -15,4 +15,5 @@
15//#include "gutenbrowserData.h" 15//#include "gutenbrowserData.h"
16#include "gutenbrowser.h" 16#include "gutenbrowser.h"
17#include "multiline_ex.h"
17 18
18/* OPIE */ 19/* OPIE */
@@ -62,5 +63,5 @@ void Gutenbrowser::initConfig() {
62 63
63 } 64 }
64 // odebug << "init file is " << iniFile << "" << oendl; 65 qDebug("init file is " + iniFile );;
65 66
66#ifdef Q_WS_QWS 67#ifdef Q_WS_QWS
@@ -152,7 +153,7 @@ void Gutenbrowser::initConfig() {
152 if(qExit=="TRUE") { 153 if(qExit=="TRUE") {
153 b_queryExit=TRUE; 154 b_queryExit=TRUE;
154// odebug << "Please query before leaving the library." << oendl; 155qDebug("lease query before leaving the library.");;
155 } else { 156 } else {
156// odebug << "Please DO NOT query before leaving the library." << oendl; 157 qDebug("Please DO NOT query before leaving the library.");
157 b_queryExit=FALSE; 158 b_queryExit=FALSE;
158 } 159 }
@@ -166,5 +167,5 @@ void Gutenbrowser::initConfig() {
166void Gutenbrowser::initMenuBar() 167void Gutenbrowser::initMenuBar()
167{ 168{
168// odebug << "Starting menu init." << oendl; 169 qDebug("Starting menu init.");
169 // menuBar entry fileMenu 170 // menuBar entry fileMenu
170 menubar = new QPEMenuBar(this); 171 menubar = new QPEMenuBar(this);
@@ -212,9 +213,8 @@ void Gutenbrowser::initMenuBar()
212void Gutenbrowser::initButtonBar() 213void Gutenbrowser::initButtonBar()
213{ 214{
214//odebug << "Starting buttonbar init." << oendl; 215 qDebug("Starting buttonbar init.");
215 216
216 OpenButton = new QPushButton( this, "OpenButton" ); 217 OpenButton = new QPushButton( this, "OpenButton" );
217 OpenButton->setFocusPolicy( QWidget::TabFocus ); 218 OpenButton->setFocusPolicy( QWidget::TabFocus );
218
219 LibraryButton = new QPushButton( this, "LibraryButton" ); 219 LibraryButton = new QPushButton( this, "LibraryButton" );
220 LibraryButton->setFocusPolicy( QWidget::TabFocus ); 220 LibraryButton->setFocusPolicy( QWidget::TabFocus );
@@ -246,5 +246,4 @@ void Gutenbrowser::initButtonBar()
246 246
247 InfoBar = new QPushButton( this, "Info_Bar" ); 247 InfoBar = new QPushButton( this, "Info_Bar" );
248// odebug << "Infobar" << oendl;
249// if(!useSplitter) { 248// if(!useSplitter) {
250 249
@@ -263,5 +262,4 @@ void Gutenbrowser::initButtonBar()
263 topLayout->setSpacing(0); 262 topLayout->setSpacing(0);
264 topLayout->addLayout( buttons2,0); 263 topLayout->addLayout( buttons2,0);
265
266} 264}
267 265
@@ -269,4 +267,5 @@ void Gutenbrowser::initButtonBar()
269void Gutenbrowser::initStatusBar() 267void Gutenbrowser::initStatusBar()
270{ 268{
269 qDebug("statusbar");
271// #ifndef Q_WS_QWS 270// #ifndef Q_WS_QWS
272 271
@@ -281,10 +280,9 @@ void Gutenbrowser::initView()
281// QFont defaultFont( "charter", 10, 50, 0 ); 280// QFont defaultFont( "charter", 10, 50, 0 );
282 Lview = new MultiLine_Ex(this); 281 Lview = new MultiLine_Ex(this);
283
284 Config cfg("Gutenbrowser"); 282 Config cfg("Gutenbrowser");
285 cfg.setGroup("Font"); 283 cfg.setGroup("Font");
286 284
287 FontDatabase fdb; 285 FontDatabase fdb;
288 QFont defaultFont=Lview->font(); 286 QFont defaultFont = Lview->font();
289 QFontInfo fontInfo(defaultFont); 287 QFontInfo fontInfo(defaultFont);
290 288
@@ -296,8 +294,8 @@ void Gutenbrowser::initView()
296 defaultFont = fdb.font(family,style,i_size,charSet); 294 defaultFont = fdb.font(family,style,i_size,charSet);
297 295
298 QString italic=cfg.readEntry("Italic","FALSE"); 296 QString italic = cfg.readEntry("Italic","FALSE");
299 if(italic=="TRUE") { 297 if(italic=="TRUE") {
300 odebug << "Set Italic font" << oendl; 298 qDebug("Set Italic font");;
301 defaultFont = fdb.font(family,"Regular",i_size,charSet); //workaround 299 defaultFont = fdb.font( family, "Regular", i_size,charSet); //workaround
302 defaultFont.setItalic(TRUE); 300 defaultFont.setItalic(TRUE);
303 } 301 }
@@ -313,5 +311,5 @@ void Gutenbrowser::initView()
313 } else { 311 } else {
314 Lview->setWordWrap(QMultiLineEdit::NoWrap); 312 Lview->setWordWrap(QMultiLineEdit::NoWrap);
315 useWrap=false; 313 useWrap = false;
316 } 314 }
317 mainList = new QListBox(this,"mainlist"); 315 mainList = new QListBox(this,"mainlist");
@@ -330,3 +328,4 @@ void Gutenbrowser::initView()
330 328
331 topLayout->addLayout( edits, 0); 329 topLayout->addLayout( edits, 0);
330 qDebug("end initView");
332} 331}