From cc1cd17f01cbfa5e83f9f41357ec7ec94e02a821 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jun 2020 12:46:22 +0900 Subject: Fixed up incomplete qtplugins -> tqtplugins renaming. Signed-off-by: Michele Calgaro --- tdecore/kstandarddirs.cpp | 4 ++-- tdecore/kstandarddirs.h | 2 +- tdecore/tdeapplication.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tdecore/kstandarddirs.cpp b/tdecore/kstandarddirs.cpp index dc9ca909a..888ca5bc2 100644 --- a/tdecore/kstandarddirs.cpp +++ b/tdecore/kstandarddirs.cpp @@ -97,7 +97,7 @@ static const char* const types[] = {"html", "html-bundle", "icon", "apps", "soun "data", "locale", "locale-bundle", "services", "mime", "servicetypes", "config", "exe", "wallpaper", "lib", "pixmap", "templates", - "module", "qtplugins", + "module", "tqtplugins", "xdgdata-apps", "xdgdata-dirs", "xdgconf-menu", "xdgdata-icon", "xdgdata-pixmap", "xdgconf-autostart", "kcfg", "emoticons", 0 }; @@ -1072,7 +1072,7 @@ TQString TDEStandardDirs::kde_default(const char *type) { return "lib" KDELIBSUFF "/"; if (!strcmp(type, "module")) return "lib" KDELIBSUFF "/trinity/"; - if (!strcmp(type, "qtplugins")) + if (!strcmp(type, "tqtplugins")) return "lib" KDELIBSUFF "/trinity/plugins"; if (!strcmp(type, "xdgdata-apps")) return "applications/"; diff --git a/tdecore/kstandarddirs.h b/tdecore/kstandarddirs.h index 7cdf44e37..e40f7617f 100644 --- a/tdecore/kstandarddirs.h +++ b/tdecore/kstandarddirs.h @@ -80,7 +80,7 @@ class TDEStandardDirsPrivate; * @li locale - Translation files for TDELocale. * @li mime - Mime types. * @li module - Module (dynamically loaded library). - * @li qtplugins - Qt plugins (dynamically loaded objects for Qt) + * @li tqtplugins - TQt plugins (dynamically loaded objects for TQt) * @li services - Services. * @li servicetypes - Service types. * @li scripts - Application scripting additions. diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp index 5be36f54e..6dcafa2d5 100644 --- a/tdecore/tdeapplication.cpp +++ b/tdecore/tdeapplication.cpp @@ -1074,7 +1074,7 @@ void TDEApplication::init(bool GUIenabled) #endif { - TQStringList plugins = TDEGlobal::dirs()->resourceDirs( "qtplugins" ); + TQStringList plugins = TDEGlobal::dirs()->resourceDirs( "tqtplugins" ); TQStringList::Iterator it = plugins.begin(); while (it != plugins.end()) { addLibraryPath( *it ); @@ -1710,7 +1710,7 @@ void TDEApplication::parseCommandLine( ) if (args->isSet("style")) { - TQStringList plugins = TDEGlobal::dirs()->resourceDirs( "qtplugins" ); + TQStringList plugins = TDEGlobal::dirs()->resourceDirs( "tqtplugins" ); TQStringList::Iterator itp = plugins.begin(); while (itp != plugins.end()) { addLibraryPath( *itp ); -- cgit v1.2.1