diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/smartcard | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/smartcard')
-rw-r--r-- | kcontrol/smartcard/smartcard.cpp | 8 | ||||
-rw-r--r-- | kcontrol/smartcard/smartcard.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/smartcard/smartcard.cpp b/kcontrol/smartcard/smartcard.cpp index fcc70a66d..acc66880e 100644 --- a/kcontrol/smartcard/smartcard.cpp +++ b/kcontrol/smartcard/smartcard.cpp @@ -44,11 +44,11 @@ #include "smartcard.h" KSmartcardConfig::KSmartcardConfig(TQWidget *parent, const char *name) - : KCModule(parent, name),DCOPObject(name) + : TDECModule(parent, name),DCOPObject(name) { TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); - config = new KConfig("ksmartcardrc", false, false); + config = new TDEConfig("ksmartcardrc", false, false); DCOPClient *dc = TDEApplication::kApplication()->dcopClient(); @@ -372,14 +372,14 @@ TQString KSmartcardConfig::quickHelp() const extern "C" { - KDE_EXPORT KCModule *create_smartcard(TQWidget *parent, const char *) + KDE_EXPORT TDECModule *create_smartcard(TQWidget *parent, const char *) { return new KSmartcardConfig(parent, "kcmsmartcard"); } KDE_EXPORT void init_smartcard() { - KConfig *config = new KConfig("ksmartcardrc", false, false); + TDEConfig *config = new TDEConfig("ksmartcardrc", false, false); bool start = config->readBoolEntry("Enable Support", false); delete config; diff --git a/kcontrol/smartcard/smartcard.h b/kcontrol/smartcard/smartcard.h index 31fcea349..8a7367341 100644 --- a/kcontrol/smartcard/smartcard.h +++ b/kcontrol/smartcard/smartcard.h @@ -32,12 +32,12 @@ #include "smartcardbase.h" #include "nosmartcardbase.h" -class KConfig; +class TDEConfig; class KCardDB; class KPopupMenu; class KListViewItem; -class KSmartcardConfig : public KCModule, public DCOPObject +class KSmartcardConfig : public TDECModule, public DCOPObject { K_DCOP Q_OBJECT @@ -74,7 +74,7 @@ public: private: - KConfig *config; + TDEConfig *config; bool _ok; KCardDB * _cardDB; KPopupMenu * _popUpKardChooser; |