diff options
Diffstat (limited to 'kstyles/utils/installtheme')
-rw-r--r-- | kstyles/utils/installtheme/Makefile.am | 2 | ||||
-rw-r--r-- | kstyles/utils/installtheme/main.cpp | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/kstyles/utils/installtheme/Makefile.am b/kstyles/utils/installtheme/Makefile.am index 2d7fab839..84272a681 100644 --- a/kstyles/utils/installtheme/Makefile.am +++ b/kstyles/utils/installtheme/Makefile.am @@ -10,7 +10,7 @@ bin_PROGRAMS = kinstalltheme kinstalltheme_SOURCES = main.cpp # the library search path. -kinstalltheme_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +kinstalltheme_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor # the libraries to link against. Be aware of the order. First the libraries, # that depend on the following ones. diff --git a/kstyles/utils/installtheme/main.cpp b/kstyles/utils/installtheme/main.cpp index b9ab927cc..3ce63dfdf 100644 --- a/kstyles/utils/installtheme/main.cpp +++ b/kstyles/utils/installtheme/main.cpp @@ -25,10 +25,10 @@ #include <tqstringlist.h> #include <tqsettings.h> -#include <kapplication.h> -#include <kcmdlineargs.h> -#include <kglobal.h> -#include <klocale.h> +#include <tdeapplication.h> +#include <tdecmdlineargs.h> +#include <tdeglobal.h> +#include <tdelocale.h> #include <ksimpleconfig.h> #include <kstandarddirs.h> @@ -37,11 +37,11 @@ static const char ver[] = "0.9.1"; int main(int argc, char **argv) { - KCmdLineArgs::init(argc, argv, "kinstalltheme", I18N_NOOP("KInstalltheme"), desc, ver); - KApplication qapp(false, false); //We don't allow styles.. Kind of ironic, isn't it? + TDECmdLineArgs::init(argc, argv, "kinstalltheme", I18N_NOOP("KInstalltheme"), desc, ver); + TDEApplication qapp(false, false); //We don't allow styles.. Kind of ironic, isn't it? - KGlobal::dirs()->addResourceType("themercs", KGlobal::dirs()->kde_default("data")+TQString("kstyle/themes")); - TQStringList themercs = KGlobal::dirs()->findAllResources("themercs","*.themerc"); + TDEGlobal::dirs()->addResourceType("themercs", TDEGlobal::dirs()->kde_default("data")+TQString("kstyle/themes")); + TQStringList themercs = TDEGlobal::dirs()->findAllResources("themercs","*.themerc"); TQMap <TQString, TQString> themes; //Name->file mapping.. @@ -62,7 +62,7 @@ int main(int argc, char **argv) } } - KSimpleConfig cache( KGlobal::dirs()->saveLocation("config")+"kthemestylerc"); + KSimpleConfig cache( TDEGlobal::dirs()->saveLocation("config")+"kthemestylerc"); #if 0 //Doesn't seem to work with present Qt.. |