-rw-r--r-- | microkde/kresources/configpage.cpp | 7 | ||||
-rw-r--r-- | microkde/kresources/configwidget.h | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/microkde/kresources/configpage.cpp b/microkde/kresources/configpage.cpp index 533be51..011e47e 100644 --- a/microkde/kresources/configpage.cpp +++ b/microkde/kresources/configpage.cpp @@ -454,13 +454,12 @@ void ConfigPage::slotSelectionChanged() mStandardButton->setEnabled( state ); } void ConfigPage::resourceAdded( Resource* resource ) { qDebug("ConfigPage::resourceAdded : %s", resource->resourceName().latin1()); - kdDebug(5650) << "ConfigPage::resourceAdded( " << resource->resourceName() << " )" << endl; ConfigViewItem *item = new ConfigViewItem( mListView, resource ); // FIXME: this sucks. This should be in the config file, // or application-dependent, in which case it's always Off item->setOn( false ); @@ -469,19 +468,17 @@ void ConfigPage::resourceAdded( Resource* resource ) emit changed( true ); } void ConfigPage::resourceModified( Resource* resource ) { qDebug("ConfigPage::resourceModified : %s", resource->resourceName().latin1()); - kdDebug(5650) << "ConfigPage::resourceModified( " << resource->resourceName() << " )" << endl; } void ConfigPage::resourceDeleted( Resource* resource ) { qDebug("ConfigPage::resourceDeleted : %s", resource->resourceName().latin1()); - kdDebug(5650) << "ConfigPage::resourceDeleted( " << resource->resourceName() << " )" << endl; } void ConfigPage::slotItemClicked( QListViewItem *item ) { ConfigViewItem *configItem = static_cast<ConfigViewItem *>( item ); if ( !configItem ) return; @@ -496,13 +493,13 @@ void ConfigPage::slotItemClicked( QListViewItem *item ) emit changed( true ); } } void ConfigPage::saveResourceSettings() { - qDebug("ConfigPage::saveResourceSettings() begin"); + //qDebug("ConfigPage::saveResourceSettings() begin"); if ( mCurrentManager ) { QListViewItem *item = mListView->firstChild(); while ( item ) { ConfigViewItem *configItem = static_cast<ConfigViewItem*>( item ); @@ -522,12 +519,12 @@ void ConfigPage::saveResourceSettings() mCurrentManager->writeConfig( mCurrentConfig ); if ( !mCurrentManager->standardResource() ) KMessageBox::sorry( this, i18n( "There is no valid standard resource!<br>Please select one which is neither read-only nor inactive." ) ); } - qDebug("ConfigPage::saveResourceSettings() end"); + //qDebug("ConfigPage::saveResourceSettings() end"); } //US #include "configpage.moc" diff --git a/microkde/kresources/configwidget.h b/microkde/kresources/configwidget.h index b97e278..aecdda9 100644 --- a/microkde/kresources/configwidget.h +++ b/microkde/kresources/configwidget.h @@ -48,13 +48,13 @@ public slots: virtual void loadSettings( Resource *resource ); virtual void saveSettings( Resource *resource ); signals: void setReadOnly( bool value ); void setPersistentReadOnly( bool value ); - + void setIncludeInSync(bool); protected: Resource* mResource; }; } |