summaryrefslogtreecommitdiffstats
path: root/ktnef/gui
diff options
context:
space:
mode:
Diffstat (limited to 'ktnef/gui')
-rw-r--r--ktnef/gui/ktnefmain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ktnef/gui/ktnefmain.cpp b/ktnef/gui/ktnefmain.cpp
index 923257773..b16b2029c 100644
--- a/ktnef/gui/ktnefmain.cpp
+++ b/ktnef/gui/ktnefmain.cpp
@@ -70,7 +70,7 @@ KTNEFMain::KTNEFMain(TQWidget *parent, const char *name)
lastdir_ = defaultdir_;
// create personale temo extract dir
- KStandardDirs::makeDir(KGlobal::dirs()->localkdedir() + "/share/apps/ktnef/tmp");
+ KStandardDirs::makeDir(KGlobal::dirs()->localtdedir() + "/share/apps/ktnef/tmp");
resize(430,350);
setAutoSaveSettings( "MainWindow" );
@@ -189,7 +189,7 @@ void KTNEFMain::viewFile()
TQString KTNEFMain::extractTemp(KTNEFAttach *att)
{
- TQString dir = KGlobal::dirs()->localkdedir() + "/share/apps/ktnef/tmp/";
+ TQString dir = KGlobal::dirs()->localtdedir() + "/share/apps/ktnef/tmp/";
parser_->extractFileTo(att->name(), dir);
dir.append(att->name());
return dir;
@@ -285,7 +285,7 @@ void KTNEFMain::enableSingleAction(bool on)
void KTNEFMain::cleanup()
{
- TQDir d(KGlobal::dirs()->localkdedir() + "/share/apps/ktnef/tmp/");
+ TQDir d(KGlobal::dirs()->localtdedir() + "/share/apps/ktnef/tmp/");
const TQFileInfoList *list = d.entryInfoList(TQDir::Files|TQDir::Hidden,TQDir::Unsorted);
TQFileInfoListIterator it(*list);
for (;it.current();++it)
@@ -380,7 +380,7 @@ void KTNEFMain::slotShowMessageText()
{
TQString rtf = parser_->message()->rtfString();
qDebug( "%s", rtf.latin1() );
- KTempFile tmpFile( KGlobal::dirs()->localkdedir() + "/share/apps/ktnef/tmp/", "rtf");
+ KTempFile tmpFile( KGlobal::dirs()->localtdedir() + "/share/apps/ktnef/tmp/", "rtf");
*( tmpFile.textStream() ) << rtf;
tmpFile.close();