this has to be k4aboutdata, after all (for now)

This commit is contained in:
Sebastian Kügler 2013-03-06 03:41:48 +01:00
parent de312ff5d4
commit 068dadc6d2
4 changed files with 10 additions and 7 deletions

View File

@ -66,7 +66,10 @@ target_link_libraries(testplasma2
plasma
${Qt5Script_LIBRARIES}
${KDE4_KDEUI_LIBS}
${kde4support_LIBRARY}
)
message("+++ kde4support : ${kde4support_LIBRARY}")
install(TARGETS testplasma2 ${INSTALL_TARGETS_DEFAULT_ARGS})

View File

@ -37,11 +37,11 @@ static const char version[] = "1.0";
int main(int argc, char** argv)
{
KAboutData aboutData("testplasma2", QByteArray(), qi18n("Plasma2 test app"),
version, qi18n(description), KAboutData::License_GPL,
qi18n("Copyright 2012, The KDE Team"));
aboutData.addAuthor(qi18n("Marco Martin"),
qi18n("Author and maintainer"),
KAboutData aboutData("testplasma2", QByteArray(), i18n("Plasma2 test app"),
version, i18n(description), KAboutData::License_GPL,
i18n("Copyright 2012, The KDE Team"));
aboutData.addAuthor(i18n("Marco Martin"),
i18n("Author and maintainer"),
"mart@kde.org");
KCmdLineArgs::init(argc, argv,
"testplasma2", "",

View File

@ -24,7 +24,7 @@
#include <KGlobalSettings>
#include <KComponentData>
#include <KAboutData>
#include <k4aboutdata.h>
#include <Plasma/Containment>
#include <Plasma/Corona>

View File

@ -36,7 +36,7 @@
#include <KShell>
#include <KStandardDirs>
#include <KComponentData>
#include <kaboutdata.h>
#include <k4aboutdata.h>
// KIO
#include <kemailsettings.h> // no camelcase include