-rw-r--r-- | noncore/settings/sound/sound.pro | 1 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 16 |
2 files changed, 10 insertions, 7 deletions
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro index a3804c3..58e94f3 100644 --- a/noncore/settings/sound/sound.pro +++ b/noncore/settings/sound/sound.pro @@ -3,3 +3,2 @@ HEADERS = soundsettings.h soundsettingsbase.h SOURCES = soundsettings.cpp soundsettingsbase.cpp main.cpp -#INTERFACES = soundsettingsbase.ui INCLUDEPATH += $(OPIEDIR)/include diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index 8ad0a3f..d55a751 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp @@ -23,2 +23,4 @@ +/* OPIE */ +#include <opie2/odebug.h> #include <qpe/qpeapplication.h> @@ -27,3 +29,5 @@ #include <qpe/storage.h> +using namespace Opie::Core; +/* QT */ #include <qcheckbox.h> @@ -32,2 +36,3 @@ +/* STD */ #include <sys/utsname.h> @@ -36,3 +41,2 @@ #include <unistd.h> -#include <stdio.h> #include <sys/stat.h> @@ -75,3 +79,3 @@ SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl ) if( release.find("embedix",0,TRUE) != -1) { - qDebug("IS System Zaurus"); + odebug << "IS System Zaurus" << oendl; systemZaurus=TRUE; @@ -87,3 +91,3 @@ SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl ) int sRate=cfg.readNumEntry("SizeLimit", 30); - qDebug("%d",sRate); + odebug << "" << sRate << "" << oendl; @@ -145,3 +149,3 @@ void SoundSettings::updateStorageCombo() { const QString path = (*it)->path(); - qDebug("storage name "+name +" storage path is "+path); + odebug << "storage name "+name +" storage path is "+path << oendl; list << name + ": " +path; @@ -154,3 +158,3 @@ void SoundSettings::updateStorageCombo() { LocationComboBox->insertStringList(list); - qDebug("set item %d", set); + odebug << "set item " << set << "" << oendl; LocationComboBox->setCurrentItem(set); @@ -162,3 +166,3 @@ void SoundSettings::setLocation(const QString & string) { config.writeEntry("RecLocation",string); - qDebug("set location "+string); + odebug << "set location "+string << oendl; config.write(); |