summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kstartdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kstartdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kstartdlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/dialogs/kstartdlg.cpp b/kmymoney2/dialogs/kstartdlg.cpp
index 470806c..0b28186 100644
--- a/kmymoney2/dialogs/kstartdlg.cpp
+++ b/kmymoney2/dialogs/kstartdlg.cpp
@@ -70,7 +70,7 @@ KStartDlg::~KStartDlg()
/** Set the font Page of the preferences dialog */
void KStartDlg::setPage_Template()
{
- KIconLoader *ic = KGlobal::iconLoader();
+ KIconLoader *ic = TDEGlobal::iconLoader();
templateMainFrame = addVBoxPage( i18n("Templates"), i18n("Select templates"), DesktopIcon("wizard"));
view_wizard = new KIconView( templateMainFrame, "view_options" );
(void)new TQIconViewItem( view_wizard, i18n("New KMyMoney document"), ic->loadIcon("mime_empty.png", KIcon::Desktop, KIcon::SizeLarge)/*TQPixmap( locate("icon","hicolor/48x48/mimetypes/mime_empty.png") )*/ );
@@ -91,7 +91,7 @@ void KStartDlg::setPage_Documents()
//allow user to select either a .kmy file, or any generic file.
kurlrequest->fileDialog()->setFilter( i18n("%1|KMyMoney files (*.kmy)\n" "%2|All files (*.*)").arg("*.kmy").arg("*.*") );
kurlrequest->fileDialog()->setMode(KFile::File || KFile::ExistingOnly);
- kurlrequest->fileDialog()->setURL(KURL(kmymoney2->readLastUsedDir()));//kurlrequest->fileDialog()->setURL(KURL(KGlobalSettings::documentPath()));
+ kurlrequest->fileDialog()->setURL(KURL(kmymoney2->readLastUsedDir()));//kurlrequest->fileDialog()->setURL(KURL(TDEGlobalSettings::documentPath()));
mainLayout->addWidget( kurlrequest );
TQLabel *label1 = new TQLabel( recentMainFrame, "label1" );
@@ -128,8 +128,8 @@ void KStartDlg::readConfig()
TQString value;
unsigned int i = 1;
- KConfig *config = KGlobal::config();
- KIconLoader *il = KGlobal::iconLoader();
+ KConfig *config = TDEGlobal::config();
+ KIconLoader *il = TDEGlobal::iconLoader();
// read file list
do {
@@ -165,7 +165,7 @@ void KStartDlg::readConfig()
/** Write config window */
void KStartDlg::writeConfig()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("Start Dialog");
config->writeEntry("Geometry", this->size() );