From 412619441fab46fc79c695a23ccf9e38135bdfad Mon Sep 17 00:00:00 2001 From: ar Date: Mon, 03 May 2004 21:35:18 +0000 Subject: - convert qDebug to odebug --- (limited to 'noncore/apps/opie-gutenbrowser/optionsDialog.cpp') diff --git a/noncore/apps/opie-gutenbrowser/optionsDialog.cpp b/noncore/apps/opie-gutenbrowser/optionsDialog.cpp index bfd9c26..8cc83da 100644 --- a/noncore/apps/opie-gutenbrowser/optionsDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/optionsDialog.cpp @@ -13,17 +13,19 @@ * (at your option) any later version. * * * ***************************************************************************/ -#include "optionsDialog.h" -#include -#include "fontDialog.h" -// #include -// #include -// #include +#include "optionsDialog.h" +#include "fontDialog.h" //#include "ftpsitedlg.h" //#include "browserDialog.h" //#define Inherited QDialog + +/* OPIE */ +#include +#include + +/* QT */ #include #include #include @@ -38,6 +40,12 @@ #ifndef Q_WS_QWS #include #endif + +/* STD */ +// #include +// #include +// #include + /* * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. @@ -60,7 +68,7 @@ optionsDialog::optionsDialog( QWidget* parent, const char* name, bool modal, WF optionsDialog::~optionsDialog() { -//qDebug("OnExit()"); +//odebug << "OnExit()" << oendl; // writeConfig(); } @@ -125,15 +133,15 @@ void optionsDialog::getConfig() QString qExit=config.readEntry("queryExit","TRUE"); if(qExit=="TRUE") { cb_queryExit->setChecked(TRUE); - qDebug("Config Setting b_qExit=TRUE;"); + odebug << "Config Setting b_qExit=TRUE;" << oendl; b_qExit=TRUE; } else { cb_queryExit->setChecked(FALSE); - qDebug("ConfigSetting b_qExit=FALSE;"); + odebug << "ConfigSetting b_qExit=FALSE;" << oendl; b_qExit=FALSE; } - + useWordWrap_CheckBox->setChecked( config.readBoolEntry("WordWrap", 1)); QString downDir=config.readEntry( "DownloadDirectory",local_library); downloadDirEdit->setText(downDir); @@ -141,7 +149,7 @@ void optionsDialog::getConfig() // // void optionsDialog::setStyle( int index) { -// // qDebug("Set style%d",index); +// // odebug << "Set style" << index << "" << oendl; // // //int styleInt= index; // // styleChanged=TRUE; // // if( ComboBoxStyle->currentItem()==0) styleInt=0;//"styleMetal")); @@ -167,15 +175,15 @@ void optionsDialog::slotQueryExit() { Config config("Gutenbrowser"); config.setGroup("General"); - qDebug("writing queryExit"); + odebug << "writing queryExit" << oendl; if(cb_queryExit->isChecked()) { b_qExit=TRUE; config.writeEntry("queryExit","TRUE"); - qDebug("WritingConfig queryExit=TRUE"); + odebug << "WritingConfig queryExit=TRUE" << oendl; } else { b_qExit=FALSE; config.writeEntry("queryExit","FALSE"); - qDebug("WritingConfig queryExit=FALSE"); + odebug << "WritingConfig queryExit=FALSE" << oendl; } config.write(); } @@ -187,10 +195,10 @@ void optionsDialog::slotQueryExit() // } // void optionsDialog::lineEditChanged(const QString &editText) { -// qDebug(editText); +// odebug << editText << oendl; // } -void optionsDialog::changeFonts() +void optionsDialog::changeFonts() { changedFonts=TRUE; } @@ -203,5 +211,5 @@ void optionsDialog::slotWordWrap(bool b) { config.writeEntry("WordWrap", b); config.write(); - + } -- cgit v0.9.0.2