summaryrefslogtreecommitdiffstats
path: root/src/kicondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kicondialog.cpp')
-rw-r--r--src/kicondialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kicondialog.cpp b/src/kicondialog.cpp
index 295fdb4..a812e85 100644
--- a/src/kicondialog.cpp
+++ b/src/kicondialog.cpp
@@ -84,7 +84,7 @@ KIconDialog::KIconDialog(TQWidget *parent, const char*)
: KDialogBase(parent, "IconDialog", true, i18n("Select Icon"), Ok|Cancel, Ok)
{
d = new KIconDialogPrivate;
- mpLoader = KGlobal::iconLoader();
+ mpLoader = TDEGlobal::iconLoader();
init();
resize(minimumSize());
}
@@ -106,7 +106,7 @@ void KIconDialog::init()
setCustomLocation(TQString()); // Initialize mFileList
// Read configuration
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
KConfigGroupSaver saver(config, "KIconDialog");
d->recentMax = config->readNumEntry("RecentMax", 10);
d->recentList = config->readPathListEntry("RecentIcons");
@@ -143,7 +143,7 @@ void KIconDialog::init()
KIconDialog::~KIconDialog()
{
// Write configuration
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
KConfigGroupSaver saver(config, "KIconDialog");
config->writeEntry("RecentMax", d->recentMax, true, true);
config->writePathEntry("RecentIcons", d->recentList, ',', true, true);
@@ -277,7 +277,7 @@ void KIconDialog::setCustomLocation( const TQString& location )
if (location.isEmpty())
{
- mFileList = KGlobal::dirs()->findAllResources("appicon", TQString::fromLatin1("*.png"));
+ mFileList = TDEGlobal::dirs()->findAllResources("appicon", TQString::fromLatin1("*.png"));
} else {
mFileList = mpLoader->queryIconsByDir(location);
}
@@ -426,7 +426,7 @@ class KIconButton::KIconButtonPrivate
KIconButton::KIconButton(TQWidget *parent, const char *name)
: TQPushButton(parent, name)
{
- init( KGlobal::iconLoader() );
+ init( TDEGlobal::iconLoader() );
}
KIconButton::KIconButton(KIconLoader *loader,