From 1d061b286a8b183b39be60fe531f2b1c2915f03a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:15:55 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- tdesu/tdesu/tdesu.cpp | 4 ++-- tdesu/tdesud/tdesud.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tdesu') diff --git a/tdesu/tdesu/tdesu.cpp b/tdesu/tdesu/tdesu.cpp index 682b39646..167659915 100644 --- a/tdesu/tdesu/tdesu.cpp +++ b/tdesu/tdesu/tdesu.cpp @@ -97,9 +97,9 @@ int main(int argc, char *argv[]) if (duser && duser[0]) options[3].def = duser; - KAboutData aboutData("tdesu", I18N_NOOP("TDE su"), + TDEAboutData aboutData("tdesu", I18N_NOOP("TDE su"), Version, I18N_NOOP("Runs a program with elevated privileges."), - KAboutData::License_Artistic, + TDEAboutData::License_Artistic, "Copyright (c) 1998-2000 Geert Jansen, Pietro Iglio"); aboutData.addAuthor("Geert Jansen", I18N_NOOP("Maintainer"), "jansen@kde.org", "http://www.stack.nl/~geertj/"); diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp index 7d425e971..49eac9952 100644 --- a/tdesu/tdesud/tdesud.cpp +++ b/tdesu/tdesud/tdesud.cpp @@ -251,14 +251,14 @@ int main(int argc, char *argv[]) { prctl(PR_SET_DUMPABLE, 0); - KAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"), + TDEAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"), Version, I18N_NOOP("Daemon used by tdesu"), - KAboutData::License_Artistic, + TDEAboutData::License_Artistic, "Copyright (c) 1999,2000 Geert Jansen"); aboutData.addAuthor("Geert Jansen", I18N_NOOP("Author"), "jansen@kde.org", "http://www.stack.nl/~geertj/"); TDECmdLineArgs::init(argc, argv, &aboutData); - KInstance instance(&aboutData); + TDEInstance instance(&aboutData); // Set core dump size to 0 struct rlimit rlim; -- cgit v1.2.1