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/editor/main.cpp | 4 ++-- src/profileengine/editor/profileeditor.cpp | 4 ++-- src/profileengine/editor/profileeditor.h | 2 +- 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 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) (limited to 'src/profileengine') diff --git a/src/profileengine/editor/main.cpp b/src/profileengine/editor/main.cpp index d835a783..baac2e80 100644 --- a/src/profileengine/editor/main.cpp +++ b/src/profileengine/editor/main.cpp @@ -1,6 +1,6 @@ /*************************************************************************** * Copyright (C) 2004 by Alexander Dymo * - * adymo@kdevelop.org * + * adymo@tdevelop.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -32,7 +32,7 @@ int main(int argc, char **argv) { KAboutData about("kdevprofileeditor", I18N_NOOP("KDevelop Profile Editor"), "1", "", KAboutData::License_GPL, I18N_NOOP("(c) 2004, The KDevelop Developers"), 0, 0, ""); - about.addAuthor("Alexander Dymo", 0, "adymo@kdevelop.org"); + about.addAuthor("Alexander Dymo", 0, "adymo@tdevelop.org"); KCmdLineArgs::init(argc, argv, &about); KCmdLineArgs::addCmdLineOptions(options); diff --git a/src/profileengine/editor/profileeditor.cpp b/src/profileengine/editor/profileeditor.cpp index a80be429..99921768 100644 --- a/src/profileengine/editor/profileeditor.cpp +++ b/src/profileengine/editor/profileeditor.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 @@ #include #include #include -#include +#include #include diff --git a/src/profileengine/editor/profileeditor.h b/src/profileengine/editor/profileeditor.h index b3c97215..dd1acb87 100644 --- a/src/profileengine/editor/profileeditor.h +++ b/src/profileengine/editor/profileeditor.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/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