diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:35:07 -0600 |
commit | 703fb0c89c2eee56a1e613e67a446db9d4287929 (patch) | |
tree | dd8c5ca66075cd89c2638a2b48cf78386a9870a7 /tdeprint/rlpr | |
parent | 818e7abec3d5d3809b6b77293558678371c16b71 (diff) | |
download | tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.tar.gz tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'tdeprint/rlpr')
-rw-r--r-- | tdeprint/rlpr/kmconfigproxy.cpp | 4 | ||||
-rw-r--r-- | tdeprint/rlpr/kmconfigproxy.h | 6 | ||||
-rw-r--r-- | tdeprint/rlpr/kmproxywidget.cpp | 4 | ||||
-rw-r--r-- | tdeprint/rlpr/kmproxywidget.h | 6 | ||||
-rw-r--r-- | tdeprint/rlpr/krlprprinterimpl.cpp | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/tdeprint/rlpr/kmconfigproxy.cpp b/tdeprint/rlpr/kmconfigproxy.cpp index 0f8ca3743..78513dad3 100644 --- a/tdeprint/rlpr/kmconfigproxy.cpp +++ b/tdeprint/rlpr/kmconfigproxy.cpp @@ -36,12 +36,12 @@ KMConfigProxy::KMConfigProxy(TQWidget *parent) lay0->addStretch(1); } -void KMConfigProxy::loadConfig(KConfig *conf) +void KMConfigProxy::loadConfig(TDEConfig *conf) { m_widget->loadConfig(conf); } -void KMConfigProxy::saveConfig(KConfig *conf) +void KMConfigProxy::saveConfig(TDEConfig *conf) { m_widget->saveConfig(conf); } diff --git a/tdeprint/rlpr/kmconfigproxy.h b/tdeprint/rlpr/kmconfigproxy.h index 6f3b7ef42..e3f92808c 100644 --- a/tdeprint/rlpr/kmconfigproxy.h +++ b/tdeprint/rlpr/kmconfigproxy.h @@ -23,15 +23,15 @@ #include "kmconfigpage.h" class KMProxyWidget; -class KConfig; +class TDEConfig; class KMConfigProxy : public KMConfigPage { public: KMConfigProxy(TQWidget *parent = 0); - void loadConfig(KConfig*); - void saveConfig(KConfig*); + void loadConfig(TDEConfig*); + void saveConfig(TDEConfig*); private: KMProxyWidget *m_widget; diff --git a/tdeprint/rlpr/kmproxywidget.cpp b/tdeprint/rlpr/kmproxywidget.cpp index e4a761519..763282ecd 100644 --- a/tdeprint/rlpr/kmproxywidget.cpp +++ b/tdeprint/rlpr/kmproxywidget.cpp @@ -55,7 +55,7 @@ KMProxyWidget::KMProxyWidget(TQWidget *parent, const char *name) lay0->addWidget(m_proxyport,2,1); } -void KMProxyWidget::loadConfig(KConfig *conf) +void KMProxyWidget::loadConfig(TDEConfig *conf) { conf->setGroup("RLPR"); m_proxyhost->setText(conf->readEntry("ProxyHost",TQString::null)); @@ -63,7 +63,7 @@ void KMProxyWidget::loadConfig(KConfig *conf) m_useproxy->setChecked(!m_proxyhost->text().isEmpty()); } -void KMProxyWidget::saveConfig(KConfig *conf) +void KMProxyWidget::saveConfig(TDEConfig *conf) { conf->setGroup("RLPR"); conf->writeEntry("ProxyHost",(m_useproxy->isChecked() ? m_proxyhost->text() : TQString::null)); diff --git a/tdeprint/rlpr/kmproxywidget.h b/tdeprint/rlpr/kmproxywidget.h index 0c1a5079b..a698889a9 100644 --- a/tdeprint/rlpr/kmproxywidget.h +++ b/tdeprint/rlpr/kmproxywidget.h @@ -22,7 +22,7 @@ #include <tqgroupbox.h> -class KConfig; +class TDEConfig; class TQLineEdit; class TQCheckBox; @@ -31,8 +31,8 @@ class KMProxyWidget : public TQGroupBox public: KMProxyWidget(TQWidget *parent = 0, const char *name = 0); - void loadConfig(KConfig*); - void saveConfig(KConfig*); + void loadConfig(TDEConfig*); + void saveConfig(TDEConfig*); private: TQLineEdit *m_proxyhost; diff --git a/tdeprint/rlpr/krlprprinterimpl.cpp b/tdeprint/rlpr/krlprprinterimpl.cpp index 2833c9598..628205a31 100644 --- a/tdeprint/rlpr/krlprprinterimpl.cpp +++ b/tdeprint/rlpr/krlprprinterimpl.cpp @@ -57,7 +57,7 @@ bool KRlprPrinterImpl::setupCommand(TQString& cmd, KPrinter *printer) cmd = TQString::fromLatin1("%1 -H %2 -P %3 -\\#%4").arg(exestr).arg(quote(host)).arg(quote(queue)).arg(printer->numCopies()); // proxy settings - KConfig *conf = KMFactory::self()->printConfig(); + TDEConfig *conf = KMFactory::self()->printConfig(); conf->setGroup("RLPR"); QString host = conf->readEntry("ProxyHost",TQString::null), port = conf->readEntry("ProxyPort",TQString::null); if (!host.isEmpty()) |