summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrDocument.cpp')
-rw-r--r--kpresenter/KPrDocument.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrDocument.cpp b/kpresenter/KPrDocument.cpp
index 535ee46eb..dad2baf60 100644
--- a/kpresenter/KPrDocument.cpp
+++ b/kpresenter/KPrDocument.cpp
@@ -150,8 +150,8 @@ KPrDocument::KPrDocument( TQWidget *parentWidget, const char *widgetName, TQObje
m_tabStop = MM_TO_POINT( 15.0 );
m_styleColl=new KoStyleCollection();
m_insertFilePage = 0;
- m_picturePath= KGlobalSettings::documentPath();
- m_globalLanguage = KGlobal::locale()->language();
+ m_picturePath= TDEGlobalSettings::documentPath();
+ m_globalLanguage = TDEGlobal::locale()->language();
m_bGlobalHyphenation = false;
_duplicatePage=false;
@@ -184,7 +184,7 @@ KPrDocument::KPrDocument( TQWidget *parentWidget, const char *widgetName, TQObje
if( config->hasGroup("Interface") ) {
config->setGroup( "Interface" );
- m_globalLanguage=config->readEntry("language", KGlobal::locale()->language());
+ m_globalLanguage=config->readEntry("language", TDEGlobal::locale()->language());
m_bGlobalHyphenation=config->readBoolEntry("hyphenation", false);
}
@@ -344,7 +344,7 @@ void KPrDocument::initConfig()
setGridY( config->readDoubleNumEntry( "ResolutionY", MM_TO_POINT( 5.0 ) ));
m_bInsertDirectCursor= config->readBoolEntry( "InsertDirectCursor", false );
- m_globalLanguage=config->readEntry("language", KGlobal::locale()->language());
+ m_globalLanguage=config->readEntry("language", TDEGlobal::locale()->language());
}
else
@@ -382,7 +382,7 @@ void KPrDocument::initConfig()
if(config->hasGroup("Kpresenter Path" ) )
{
config->setGroup( "Kpresenter Path" );
- m_picturePath=config->readPathEntry( "picture path",KGlobalSettings::documentPath());
+ m_picturePath=config->readPathEntry( "picture path",TDEGlobalSettings::documentPath());
setBackupPath(config->readPathEntry( "backup path" ));
}
@@ -2221,7 +2221,7 @@ bool KPrDocument::loadXML( TQIODevice * dev, const TQDomDocument& doc )
// Launch the perl script on it
KTempFile tmpFileOut;
tmpFileOut.setAutoDelete( true );
- TQString cmd = KGlobal::dirs()->findExe("perl");
+ TQString cmd = TDEGlobal::dirs()->findExe("perl");
if (cmd.isEmpty())
{
setErrorMessage( i18n("You don't appear to have PERL installed.\nIt is needed to convert this document.\nPlease install PERL and try again."));
@@ -2230,9 +2230,9 @@ bool KPrDocument::loadXML( TQIODevice * dev, const TQDomDocument& doc )
cmd += " ";
cmd += locate( "exe", "kprconverter.pl" );
cmd += " ";
- cmd += KProcess::quote( tmpFileIn.name() );
+ cmd += TDEProcess::quote( tmpFileIn.name() );
cmd += " ";
- cmd += KProcess::quote( tmpFileOut.name() );
+ cmd += TDEProcess::quote( tmpFileOut.name() );
system( TQFile::encodeName(cmd) );
// Build a new TQDomDocument from the result