summaryrefslogtreecommitdiffstats
path: root/tdeprint/rlpr
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/rlpr')
-rw-r--r--tdeprint/rlpr/kmconfigproxy.cpp4
-rw-r--r--tdeprint/rlpr/kmconfigproxy.h6
-rw-r--r--tdeprint/rlpr/kmproxywidget.cpp4
-rw-r--r--tdeprint/rlpr/kmproxywidget.h6
-rw-r--r--tdeprint/rlpr/krlprprinterimpl.cpp2
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())