summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kplato/kptreportview.cpp4
-rw-r--r--kplato/kptview.cpp2
-rw-r--r--kspread/dialogs/link.cpp4
-rw-r--r--lib/kofficecore/KoApplication.cpp4
-rw-r--r--lib/kofficecore/KoDocument.h4
-rw-r--r--lib/kofficecore/KoTemplates.cpp4
-rw-r--r--lib/kofficeui/KoInsertLink.cpp4
7 files changed, 13 insertions, 13 deletions
diff --git a/kplato/kptreportview.cpp b/kplato/kptreportview.cpp
index 1818c3369..fa6fb101b 100644
--- a/kplato/kptreportview.cpp
+++ b/kplato/kptreportview.cpp
@@ -38,7 +38,7 @@
#include <tdeio/netaccess.h>
#include <tdelocale.h>
#include <tdeglobal.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdefiledialog.h>
#include <tqfile.h>
@@ -220,7 +220,7 @@ void ReportView::initReportList() {
TDEStandardDirs std;
TQStringList reportDesktopFiles = std.findAllResources("data", "kplato/reports/*.desktop", true, true);
for (TQStringList::iterator it = reportDesktopFiles.begin(); it != reportDesktopFiles.end(); ++it) {
- KDesktopFile file((*it), true);
+ TDEDesktopFile file((*it), true);
TQString name = file.readName();
if (!name.isNull()) {
//kdDebug()<<" file: "<<*it<<" name="<<name<<endl;
diff --git a/kplato/kptview.cpp b/kplato/kptview.cpp
index 4b74eab26..ad77e6125 100644
--- a/kplato/kptview.cpp
+++ b/kplato/kptview.cpp
@@ -57,7 +57,7 @@
#include <kxmlguifactory.h>
#include <tdestandarddirs.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kcommand.h>
#include <tdefiledialog.h>
diff --git a/kspread/dialogs/link.cpp b/kspread/dialogs/link.cpp
index afc64096d..990a04340 100644
--- a/kspread/dialogs/link.cpp
+++ b/kspread/dialogs/link.cpp
@@ -29,7 +29,7 @@
#include <tqlabel.h>
#include <tqlayout.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialogbase.h>
#include <kiconloader.h>
#include <klineedit.h>
@@ -118,7 +118,7 @@ LinkDialog::LinkDialog( TQWidget*, const char* )
TQStringList fileList = TDERecentDocument::recentDocuments();
for( TQStringList::ConstIterator it = fileList.begin();it != fileList.end(); ++it )
{
- KDesktopFile f(*it, true /* read only */);
+ TDEDesktopFile f(*it, true /* read only */);
if ( !f.readURL().isEmpty() )
recentFile->insertItem( f.readURL() );
}
diff --git a/lib/kofficecore/KoApplication.cpp b/lib/kofficecore/KoApplication.cpp
index b50ab8572..29dc6af1a 100644
--- a/lib/kofficecore/KoApplication.cpp
+++ b/lib/kofficecore/KoApplication.cpp
@@ -29,7 +29,7 @@
#include <tdelocale.h>
#include <tdecmdlineargs.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdemessagebox.h>
#include <tdestandarddirs.h>
#include <stdlib.h>
@@ -191,7 +191,7 @@ bool KoApplication::start()
if ( !paths.isEmpty() ) {
KURL templateBase;
templateBase.setPath(paths[0]);
- KDesktopFile templateInfo(paths[0]);
+ TDEDesktopFile templateInfo(paths[0]);
TQString templateName = templateInfo.readURL();
KURL templateURL;
diff --git a/lib/kofficecore/KoDocument.h b/lib/kofficecore/KoDocument.h
index f7fc00d98..4f541780a 100644
--- a/lib/kofficecore/KoDocument.h
+++ b/lib/kofficecore/KoDocument.h
@@ -185,7 +185,7 @@ public:
* file it searches for the "X-TDE-NativeMimeType" entry and returns it.
*
* @see KService
- * @see KDesktopFile
+ * @see TDEDesktopFile
*/
static TQCString readNativeFormatMimeType( TDEInstance *instance = 0 );
@@ -197,7 +197,7 @@ public:
* file it searches for the "X-TDE-ExtraNativeMimeTypes" entry and returns it.
*
* @see KService
- * @see KDesktopFile
+ * @see TDEDesktopFile
*/
static TQStringList readExtraNativeMimeTypes( TDEInstance *instance = 0 );
diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp
index 313d3af4b..b0a54a1c2 100644
--- a/lib/kofficecore/KoTemplates.cpp
+++ b/lib/kofficecore/KoTemplates.cpp
@@ -23,7 +23,7 @@
#include <tqimage.h>
#include <tqprinter.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdesimpleconfig.h>
#include <kdebug.h>
#include <tdeversion.h>
@@ -270,7 +270,7 @@ void KoTemplateTree::readTemplates() {
TQString measureSystem;
// If a desktop file, then read the name from it.
// Otherwise (or if no name in it?) use file name
- if (KDesktopFile::isDesktopFile(filePath)) {
+ if (TDEDesktopFile::isDesktopFile(filePath)) {
TDESimpleConfig config(filePath, true);
config.setDesktopGroup();
if (config.readEntry("Type")=="Link") {
diff --git a/lib/kofficeui/KoInsertLink.cpp b/lib/kofficeui/KoInsertLink.cpp
index 94a2ffb75..03609b327 100644
--- a/lib/kofficeui/KoInsertLink.cpp
+++ b/lib/kofficeui/KoInsertLink.cpp
@@ -31,7 +31,7 @@
#include <kseparator.h>
#include <kiconloader.h>
#include "KoInsertLink.h"
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tderecentdocument.h>
using namespace KOfficePrivate;
@@ -471,7 +471,7 @@ fileLinkPage::fileLinkPage( TQWidget *parent , char *name )
lst <<"";
for (TQStringList::ConstIterator it = fileList.begin();it != fileList.end(); ++it)
{
- KDesktopFile f(*it, true /* read only */);
+ TDEDesktopFile f(*it, true /* read only */);
if ( !f.readURL().isEmpty())
lst.append( f.readURL());
}