summaryrefslogtreecommitdiffstats
path: root/kpager
diff options
context:
space:
mode:
Diffstat (limited to 'kpager')
-rw-r--r--kpager/desktop.cpp6
-rw-r--r--kpager/kpager.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/kpager/desktop.cpp b/kpager/desktop.cpp
index 6af6d8daf..f8a14c221 100644
--- a/kpager/desktop.cpp
+++ b/kpager/desktop.cpp
@@ -62,7 +62,7 @@ Desktop::Desktop( int desk, TQString desktopName, TQWidget *parent, const char *
setBackgroundMode(NoBackground);
if (m_desk==1) Desktop::m_windowPixmaps.setAutoDelete(true);
- KConfig *cfg= KGlobal::config();
+ KConfig *cfg= TDEGlobal::config();
m_transparentMode=static_cast<WindowTransparentMode>
(cfg->readNumEntry("windowTransparentMode", c_defWindowTransparentMode));
resize(67, 50);
@@ -466,11 +466,11 @@ void Desktop::paintEvent( TQPaintEvent * )
// set font
if (sname) {
- TQFont f(KGlobalSettings::generalFont().family(), 10, TQFont::Bold);
+ TQFont f(TDEGlobalSettings::generalFont().family(), 10, TQFont::Bold);
p.setFont(f);
}
else {
- TQFont f(KGlobalSettings::generalFont().family(), 12, TQFont::Bold);
+ TQFont f(TDEGlobalSettings::generalFont().family(), 12, TQFont::Bold);
p.setFont(f);
}
diff --git a/kpager/kpager.cpp b/kpager/kpager.cpp
index 3bce94fac..ff79f5e45 100644
--- a/kpager/kpager.cpp
+++ b/kpager/kpager.cpp
@@ -122,7 +122,7 @@ extern bool closed_by_sm;
bool KPagerMainWindow::queryClose()
{
- KConfig *cfg=KGlobal::config();
+ KConfig *cfg=TDEGlobal::config();
cfg->setGroup("KPager");
cfg->writeEntry("layoutType", static_cast<int>(m_pPager->m_layoutType));
@@ -227,7 +227,7 @@ KPager::KPager(KPagerMainWindow *parent, const char *name)
connect(kapp, TQT_SIGNAL(backgroundChanged(int)),
TQT_SLOT(slotBackgroundChanged(int)));
- TQFont defFont(KGlobalSettings::generalFont().family(), 10, TQFont::Bold);
+ TQFont defFont(TDEGlobalSettings::generalFont().family(), 10, TQFont::Bold);
defFont = cfg->readFontEntry("Font", &defFont);
setFont(defFont);
@@ -356,7 +356,7 @@ void KPager::configureDialog()
if (dialog->exec())
{
m_layoutType=static_cast<enum KPager::LayoutTypes>(KPagerConfigDialog::m_layoutType);
- KConfig *cfg=KGlobal::config();
+ KConfig *cfg=TDEGlobal::config();
int nWd = (parent() ? ((TQWidget *)parent())->width() : width());
int nHg = (parent() ? ((TQWidget *)parent())->width() : width());