diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:23:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:23:24 -0600 |
commit | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (patch) | |
tree | fb31321c80b12ee8e2237bdcf8c228fe44e67772 /lib/kofficecore/KoApplication.cpp | |
parent | fe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff) | |
download | koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'lib/kofficecore/KoApplication.cpp')
-rw-r--r-- | lib/kofficecore/KoApplication.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoApplication.cpp b/lib/kofficecore/KoApplication.cpp index 47861558..d594e0a0 100644 --- a/lib/kofficecore/KoApplication.cpp +++ b/lib/kofficecore/KoApplication.cpp @@ -173,11 +173,11 @@ bool KoApplication::start() kdDebug(30003) << "using full path..." << endl; } else { TQString desktopName(args->arg(i)); - TQString appName = KGlobal::instance()->instanceName(); + TQString appName = TDEGlobal::instance()->instanceName(); - paths = KGlobal::dirs()->findAllResources("data", appName +"/templates/*/" + desktopName ); + paths = TDEGlobal::dirs()->findAllResources("data", appName +"/templates/*/" + desktopName ); if ( paths.isEmpty()) { - paths = KGlobal::dirs()->findAllResources("data", appName +"/templates/" + desktopName ); + paths = TDEGlobal::dirs()->findAllResources("data", appName +"/templates/" + desktopName ); } if ( paths.isEmpty()) { KMessageBox::error(0L, i18n("No template found for: %1 ").arg(desktopName) ); |