~blue-shell/blue-shell/sddm-kcm

« back to all changes in this revision

Viewing changes to src/sddmkcm.cpp

  • Committer: David Edmundson
  • Date: 2014-09-30 15:00:27 UTC
  • Revision ID: git-v1:dda159fa2729f340cb4bd5a23d48a8690a77a51c
KAboutData port

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <KAuth/KAuthActionReply>
24
24
#include <KAuth/KAuthActionReply>
25
25
 
26
 
#include <K4AboutData>
 
26
#include <KAboutData>
 
27
 
27
28
#include <KTabWidget>
28
29
#include <KLocalizedString>
29
30
#include <QDebug>
43
44
SddmKcm::SddmKcm(QWidget *parent, const QVariantList &args) :
44
45
    KCModule(parent, args)
45
46
{
46
 
    K4AboutData* aboutData = new K4AboutData("kcmsddm", 0, ki18n("SDDM KDE Config"), "0");
 
47
    KAboutData* aboutData = new KAboutData("kcmsddm", i18n("SDDM KDE Config"), "0.1");
47
48
 
48
49
    aboutData->setVersion(0);
49
50
 
50
 
    aboutData->setShortDescription(ki18n("Login screen using the SDDM"));
51
 
    aboutData->setLicense(K4AboutData::License_GPL);
52
 
    aboutData->setCopyrightStatement(ki18n("(c) 2013 Reza Fatahilah Shah"));
 
51
    aboutData->setShortDescription(i18n("Login screen using the SDDM"));
 
52
    aboutData->setLicense(KAboutLicense::GPL_V2);
53
53
    //aboutData->setHomepage("https://github.com/sddm/sddm");
54
54
 
55
 
    aboutData->addAuthor(ki18n("Reza Fatahilah Shah"), ki18n("Author"), "rshah0385@kireihana.com");
 
55
    aboutData->addAuthor("Reza Fatahilah Shah", i18n("Author"), "rshah0385@kireihana.com");
 
56
    aboutData->addAuthor("David Edmundson", i18n("Author"), "davidedmundson@kde.org");
 
57
;
56
58
    
57
59
    //FIXME
58
60
//     setAboutData(aboutData);