From 2ecab1a194b0dc551b478820e1aaa3b8713354cc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 16 Nov 2011 13:53:18 -0600 Subject: Additional renaming of kde to tde --- src/profileengine/lib/CMakeLists.txt | 2 +- src/profileengine/lib/Mainpage.dox | 2 +- src/profileengine/lib/Makefile.am | 2 +- src/profileengine/lib/profile.cpp | 12 ++++++------ src/profileengine/lib/profile.h | 2 +- src/profileengine/lib/profileengine.cpp | 4 ++-- src/profileengine/lib/profileengine.h | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/profileengine/lib') diff --git a/src/profileengine/lib/CMakeLists.txt b/src/profileengine/lib/CMakeLists.txt index f6cad526..cd36b2da 100644 --- a/src/profileengine/lib/CMakeLists.txt +++ b/src/profileengine/lib/CMakeLists.txt @@ -24,7 +24,7 @@ link_directories( install( FILES profileengine.h profile.h - DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/shell/profileengine ) + DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/shell/profileengine ) ##### profileengine (shared) #################### diff --git a/src/profileengine/lib/Mainpage.dox b/src/profileengine/lib/Mainpage.dox index 72d14aa5..88a443dc 100644 --- a/src/profileengine/lib/Mainpage.dox +++ b/src/profileengine/lib/Mainpage.dox @@ -5,6 +5,6 @@ This library contains plugin profiles engine for KDevelop shell. Link with: -lprofileengine -Include path: -I\$(kde_includes)/kdevelop/shell/profileengine +Include path: -I\$(kde_includes)/tdevelop/shell/profileengine */ diff --git a/src/profileengine/lib/Makefile.am b/src/profileengine/lib/Makefile.am index 967736eb..4bbdbbf5 100644 --- a/src/profileengine/lib/Makefile.am +++ b/src/profileengine/lib/Makefile.am @@ -7,7 +7,7 @@ libprofileengine_la_LDFLAGS = $(all_libraries) libprofileengine_la_LIBADD = $(LIB_QT) $(LIB_TDECORE) $(LIB_KIO) libprofileengine_la_SOURCES = profileengine.cpp profile.cpp -profileincludedir = $(includedir)/kdevelop/shell/profileengine +profileincludedir = $(includedir)/tdevelop/shell/profileengine profileinclude_HEADERS = profileengine.h profile.h DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui khtml kmdi kio kjs kparts kutils kdevutil kdevinterfaces diff --git a/src/profileengine/lib/profile.cpp b/src/profileengine/lib/profile.cpp index 02fe1216..ac30ff87 100644 --- a/src/profileengine/lib/profile.cpp +++ b/src/profileengine/lib/profile.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by Alexander Dymo * + * Copyright (C) 2004 by Alexander Dymo * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU Library General Public License as * @@ -32,7 +32,7 @@ Profile::Profile(Profile *parent, const TQString &name) if (m_parent) m_parent->addChildProfile(this); - TQString profileConfig = locate("data", "kdevelop/profiles" + dirName() + "/profile.config"); + TQString profileConfig = locate("data", "tdevelop/profiles" + dirName() + "/profile.config"); KConfig config(profileConfig); config.setGroup("Information"); @@ -83,7 +83,7 @@ TQString Profile::dirName() const void Profile::save() { - TQString profileConfig = locateLocal("data", "kdevelop/profiles" + dirName() + "/profile.config"); + TQString profileConfig = locateLocal("data", "tdevelop/profiles" + dirName() + "/profile.config"); KConfig config(profileConfig); config.setGroup("Information"); @@ -165,7 +165,7 @@ bool Profile::hasInEntryList(EntryList &list, TQString value) bool Profile::remove() { - TQStringList dirs = KGlobal::dirs()->findDirs("data", "kdevelop/profiles" + dirName()); + TQStringList dirs = KGlobal::dirs()->findDirs("data", "tdevelop/profiles" + dirName()); if ((dirs.count() == 1) && dirs[0].startsWith(TQDir::homeDirPath())) return KIO::NetAccess::del(KURL::fromPathOrURL(dirs[0]), 0); return false; @@ -184,7 +184,7 @@ KURL::List Profile::resources(const TQString &nameFilter) for (TQStringList::const_iterator it = resourceDirs.begin(); it != resourceDirs.end(); ++it) { TQString dir = *it; - dir = dir + "kdevelop/profiles" + dirName(); + dir = dir + "tdevelop/profiles" + dirName(); TQDir d(dir); const TQFileInfoList *infoList = d.entryInfoList(nameFilter, TQDir::Files); @@ -200,6 +200,6 @@ KURL::List Profile::resources(const TQString &nameFilter) void Profile::addResource(const KURL &url) { - TQString saveLocation = KGlobal::dirs()->saveLocation("data", "kdevelop/profiles"+dirName(), true); + TQString saveLocation = KGlobal::dirs()->saveLocation("data", "tdevelop/profiles"+dirName(), true); KIO::NetAccess::file_copy(url, KURL::fromPathOrURL(saveLocation), -1, true); } diff --git a/src/profileengine/lib/profile.h b/src/profileengine/lib/profile.h index c6829245..3cbfd6f5 100644 --- a/src/profileengine/lib/profile.h +++ b/src/profileengine/lib/profile.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by Alexander Dymo * + * Copyright (C) 2004 by Alexander Dymo * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU Library General Public License as * diff --git a/src/profileengine/lib/profileengine.cpp b/src/profileengine/lib/profileengine.cpp index 896d8080..d21a6b58 100644 --- a/src/profileengine/lib/profileengine.cpp +++ b/src/profileengine/lib/profileengine.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by Alexander Dymo * + * Copyright (C) 2004 by Alexander Dymo * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU Library General Public License as * @@ -29,7 +29,7 @@ ProfileEngine::ProfileEngine() { - TQStringList dirs = KGlobal::dirs()->findDirs("data", "kdevelop/profiles"); + TQStringList dirs = KGlobal::dirs()->findDirs("data", "tdevelop/profiles"); m_rootProfile = new Profile(0, "KDevelop"); diff --git a/src/profileengine/lib/profileengine.h b/src/profileengine/lib/profileengine.h index 90908afe..d34f9e02 100644 --- a/src/profileengine/lib/profileengine.h +++ b/src/profileengine/lib/profileengine.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by Alexander Dymo * + * Copyright (C) 2004 by Alexander Dymo * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU Library General Public License as * @@ -119,7 +119,7 @@ public: KURL::List resourcesRecursive(const TQString &profileName, const TQString &nameFilter); /**Adds a resource for the profile. Resource will be copied to the user profile directory - (like $HOME/.kde/share/apps/kdevelop/profiles/...). + (like $HOME/.kde/share/apps/tdevelop/profiles/...). @param profileName A name of the profile. @param url The url to a file to copy as a profile resource.*/ void addResource(const TQString &profileName, const KURL &url); -- cgit v1.2.1