summaryrefslogtreecommitdiffstats
path: root/tdeprint/tdeprintfax/conffax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/tdeprintfax/conffax.cpp')
-rw-r--r--tdeprint/tdeprintfax/conffax.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/tdeprintfax/conffax.cpp b/tdeprint/tdeprintfax/conffax.cpp
index 1f3b8c3c5..e36916b83 100644
--- a/tdeprint/tdeprintfax/conffax.cpp
+++ b/tdeprint/tdeprintfax/conffax.cpp
@@ -61,9 +61,9 @@ ConfFax::ConfFax(TQWidget *parent, const char *name)
void ConfFax::load()
{
- KConfig *conf = KGlobal::config();
+ KConfig *conf = TDEGlobal::config();
conf->setGroup("Fax");
- TQString v = conf->readEntry("Page", KGlobal::locale()->pageSize() == TQPrinter::A4 ? "a4" : "letter");
+ TQString v = conf->readEntry("Page", TDEGlobal::locale()->pageSize() == TQPrinter::A4 ? "a4" : "letter");
if (v == "letter") m_pagesize->setCurrentItem(1);
else if (v == "legal") m_pagesize->setCurrentItem(2);
else m_pagesize->setCurrentItem(0);
@@ -73,7 +73,7 @@ void ConfFax::load()
void ConfFax::save()
{
- KConfig *conf = KGlobal::config();
+ KConfig *conf = TDEGlobal::config();
conf->setGroup("Fax");
conf->writeEntry("Resolution", (m_resolution->currentItem() == 0 ? "High" : "Low"));
conf->writeEntry("Page", (m_pagesize->currentItem() == 0 ? "a4" : (m_pagesize->currentItem() == 1 ? "letter" : "legal")));