diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /certmanager/conf/appearanceconfigwidget.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'certmanager/conf/appearanceconfigwidget.cpp')
-rw-r--r-- | certmanager/conf/appearanceconfigwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/certmanager/conf/appearanceconfigwidget.cpp b/certmanager/conf/appearanceconfigwidget.cpp index 57a767419..96c0bfffc 100644 --- a/certmanager/conf/appearanceconfigwidget.cpp +++ b/certmanager/conf/appearanceconfigwidget.cpp @@ -66,7 +66,7 @@ using namespace Kleo; class CategoryListViewItem : public TQListViewItem { public: - CategoryListViewItem( TQListView* lv, TQListViewItem* prev, const KConfigBase& config ) + CategoryListViewItem( TQListView* lv, TQListViewItem* prev, const TDEConfigBase& config ) : TQListViewItem( lv, prev ) { setName( config.readEntry( "Name", i18n("<unnamed>") ) ); @@ -85,7 +85,7 @@ public: mDirty = false; } - void save( KConfigBase& config ) { + void save( TDEConfigBase& config ) { config.writeEntry( "Name", text( 0 ) ); config.writeEntry( "foreground-color", mForegroundColor ); config.writeEntry( "background-color", mBackgroundColor ); @@ -235,19 +235,19 @@ void AppearanceConfigWidget::slotDefaultClicked() void AppearanceConfigWidget::load() { categoriesLV->clear(); - KConfig * config = Kleo::CryptoBackendFactory::instance()->configObject(); + TDEConfig * config = Kleo::CryptoBackendFactory::instance()->configObject(); if ( !config ) return; TQStringList groups = config->groupList().grep( TQRegExp( "^Key Filter #\\d+$" ) ); for ( TQStringList::const_iterator it = groups.begin() ; it != groups.end() ; ++it ) { - KConfigGroup cfg( config, *it ); + TDEConfigGroup cfg( config, *it ); (void) new CategoryListViewItem( categoriesLV, categoriesLV->lastItem(), cfg ); } } void AppearanceConfigWidget::save() { - KConfig * config = Kleo::CryptoBackendFactory::instance()->configObject(); + TDEConfig * config = Kleo::CryptoBackendFactory::instance()->configObject(); if ( !config ) return; // We know (assume) that the groups in the config object haven't changed, @@ -263,7 +263,7 @@ void AppearanceConfigWidget::save() TQListViewItemIterator lvit( categoriesLV ); for ( TQStringList::const_iterator it = groups.begin() ; it != groups.end() && lvit.current(); ++it, ++lvit ) { CategoryListViewItem* item = static_cast<CategoryListViewItem*>(lvit.current() ); - KConfigGroup cfg( config, *it ); + TDEConfigGroup cfg( config, *it ); item->save( cfg ); } config->sync(); |