From 949de8193689ca683656ae666fda3e89f115567e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:27:40 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- kstars/kstars/ksnewstuff.cpp | 2 +- kstars/kstars/kstarsactions.cpp | 2 +- kstars/kstars/kstarsdata.cpp | 2 +- kstars/kstars/kstarsdata.h | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kstars') diff --git a/kstars/kstars/ksnewstuff.cpp b/kstars/kstars/ksnewstuff.cpp index 3332b58c..695ce191 100644 --- a/kstars/kstars/ksnewstuff.cpp +++ b/kstars/kstars/ksnewstuff.cpp @@ -55,7 +55,7 @@ bool KSNewStuff::install( const TQString &fileName ) const KArchiveDirectory *archiveDir = archive.directory(); const TQString destDir = TDEGlobal::dirs()->saveLocation("data", kapp->instanceName(), true); - KStandardDirs::makeDir( destDir ); + TDEStandardDirs::makeDir( destDir ); //monitor destDir for changes; inform updateData when files are created. connect( kdw, TQT_SIGNAL( dirty( const TQString & ) ), this, TQT_SLOT( updateData( const TQString & ) ) ); diff --git a/kstars/kstars/kstarsactions.cpp b/kstars/kstars/kstarsactions.cpp index 05309f25..aa403e9b 100644 --- a/kstars/kstars/kstarsactions.cpp +++ b/kstars/kstars/kstarsactions.cpp @@ -345,7 +345,7 @@ void KStars::slotGeoLocator() { } void KStars::slotViewOps() { - KStandardDirs stdDirs; + TDEStandardDirs stdDirs; //An instance of your dialog could be already created and could be cached, //in which case you want to display the cached dialog instead of creating diff --git a/kstars/kstars/kstarsdata.cpp b/kstars/kstars/kstarsdata.cpp index 5bd888e7..93a2c0f4 100644 --- a/kstars/kstars/kstarsdata.cpp +++ b/kstars/kstars/kstarsdata.cpp @@ -70,7 +70,7 @@ KStarsData::KStarsData() : stdDirs(0), locale(0), objects++; //standard directories and locale objects - stdDirs = new KStandardDirs(); + stdDirs = new TDEStandardDirs(); locale = new KLocale( "kstars" ); //Check to see if config file already exists. If not, set diff --git a/kstars/kstars/kstarsdata.h b/kstars/kstars/kstarsdata.h index e529e0f0..22f9b273 100644 --- a/kstars/kstars/kstarsdata.h +++ b/kstars/kstars/kstarsdata.h @@ -53,7 +53,7 @@ class TQDataPump; class TQFile; class TQTimer; -class KStandardDirs; +class TDEStandardDirs; class dms; class SkyMap; @@ -735,7 +735,7 @@ private: bool TimeRunsForward, temporaryTrail, snapToFocus; TQString cnameFile; - KStandardDirs *stdDirs; + TDEStandardDirs *stdDirs; KLocale *locale; dms *LST, *HourAngle; -- cgit v1.2.1