summaryrefslogtreecommitdiff
path: root/noncore/settings/mediummount/mediumglobal.cc
Unidiff
Diffstat (limited to 'noncore/settings/mediummount/mediumglobal.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mediumglobal.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc
index ab0b3af..0c6cf12 100644
--- a/noncore/settings/mediummount/mediumglobal.cc
+++ b/noncore/settings/mediummount/mediumglobal.cc
@@ -1,20 +1,25 @@
1 1
2#include "mediumglobal.h"
3
4/* OPIE */
5#include <opie2/odebug.h>
6using namespace Opie::Core;
7#include <qpe/config.h>
2 8
9/* QT */
3#include <qlineedit.h> 10#include <qlineedit.h>
4#include <qcheckbox.h> 11#include <qcheckbox.h>
5#include <qlabel.h> 12#include <qlabel.h>
6#include <qabstractlayout.h> // spacer item 13#include <qabstractlayout.h> // spacer item
7#include <qlayout.h> 14#include <qlayout.h>
8#include <qframe.h> 15#include <qframe.h>
9#include <qgroupbox.h> 16#include <qgroupbox.h>
10#include <qwhatsthis.h> 17#include <qwhatsthis.h>
11 18
12#include <qpe/config.h>
13 19
14#include "mediumglobal.h"
15 20
16using namespace MediumMountSetting; 21using namespace MediumMountSetting;
17 22
18/* TRANSLATOR MediumMountSetting::MediumGlobalWidget */ 23/* TRANSLATOR MediumMountSetting::MediumGlobalWidget */
19 24
20MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name ) 25MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name )
@@ -149,13 +154,13 @@ void MediumGlobalWidget::slotGlobalChanged()
149 int mode = GLOBAL_DISABLED; 154 int mode = GLOBAL_DISABLED;
150 bool enabled = false; 155 bool enabled = false;
151 if( ( enabled =m_useglobal->isChecked() ) ){ 156 if( ( enabled =m_useglobal->isChecked() ) ){
152 mode = GLOBAL_ENABLED; 157 mode = GLOBAL_ENABLED;
153 }else 158 }else
154 mode = GLOBAL_DISABLED; 159 mode = GLOBAL_DISABLED;
155 qWarning("enabled = %d", enabled ); 160 owarn << "enabled = " << enabled << oendl;
156 m_all->setEnabled ( enabled ); 161 m_all->setEnabled ( enabled );
157 m_audio->setEnabled( enabled ); 162 m_audio->setEnabled( enabled );
158 m_image->setEnabled( enabled ); 163 m_image->setEnabled( enabled );
159 m_text->setEnabled ( enabled ); 164 m_text->setEnabled ( enabled );
160 m_video->setEnabled ( enabled ); 165 m_video->setEnabled ( enabled );
161 slotAllChanged(); 166 slotAllChanged();