summaryrefslogtreecommitdiffstats
path: root/kde/patch/baloo5/baloo-4.96.0_kaboutdata.diff
blob: 36ec0d1da48de1e18dcd618238e50ca4768a46cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
From: Andreas Hartmetz <ahartmetz@gmail.com>
Date: Wed, 14 May 2014 02:36:57 +0000
Subject: Adapt to changes in KAboutData.
X-Git-Url: http://quickgit.kde.org/?p=baloo.git&a=commitdiff&h=46e3ea7828c8066e75bec87ba0a19d5ef3bd700a
---
Adapt to changes in KAboutData.
---


--- a/src/file/kcm/kcm.cpp
+++ b/src/file/kcm/kcm.cpp
@@ -58,8 +58,8 @@
     : KCModule(parent, args)
 {
     KAboutData* about = new KAboutData(
-        "kcm_baloofile", "kcm_baloofile", i18n("Configure Desktop Search"),
-        "0.1", QString(), KAboutData::License_GPL,
+        "kcm_baloofile", i18n("Configure Desktop Search"),
+        "0.1", QString(), KAboutLicense::GPL,
         i18n("Copyright 2007-2010 Sebastian Trüg"));
     about->addAuthor(i18n("Sebastian Trüg"), QString(), "trueg@kde.org");
     about->addAuthor(i18n("Vishesh Handa"), QString(), "vhanda@kde.org");

--- a/src/file/main.cpp
+++ b/src/file/main.cpp
@@ -44,9 +44,9 @@
     lowerSchedulingPriority();
     lowerPriority();
 
-    KAboutData aboutData("baloo_file", "baloo_file", i18n("Baloo File"), "0.1",
+    KAboutData aboutData("baloo_file", i18n("Baloo File"), "0.1",
                          i18n("An application to handle file metadata"),
-                         KAboutData::License_LGPL_V2);
+                         KAboutLicense::LGPL_V2);
     aboutData.addAuthor(i18n("Vishesh Handa"), i18n("Maintainer"), "me@vhanda.in", "http://vhanda.in");
 
     KAboutData::setApplicationData(aboutData);

--- a/src/tools/baloosearch/main.cpp
+++ b/src/tools/baloosearch/main.cpp
@@ -55,11 +55,10 @@
 int main(int argc, char* argv[])
 {
     KAboutData aboutData("baloosearch",
-                         "baloosearch",
                          i18n("Baloo Search"),
                          "0.1",
                          i18n("Baloo Search - A debugging tool"),
-                         KAboutData::License_GPL,
+                         KAboutLicense::GPL,
                          i18n("(c) 2013, Vishesh Handa"));
     aboutData.addAuthor(i18n("Vishesh Handa"), i18n("Maintainer"), "me@vhanda.in");
 

--- a/src/tools/balooshow/main.cpp
+++ b/src/tools/balooshow/main.cpp
@@ -46,11 +46,10 @@
 int main(int argc, char* argv[])
 {
     KAboutData aboutData("balooshow",
-                         "balooshow",
                          i18n("Baloo Show"),
                          "0.1",
                          i18n("The Baloo data Viewer - A debugging tool"),
-                         KAboutData::License_GPL,
+                         KAboutLicense::GPL,
                          i18n("(c) 2012, Vishesh Handa"));
     aboutData.addAuthor(i18n("Vishesh Handa"), i18n("Maintainer"), "me@vhanda.in");