[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/icons
From:       Aaron J. Seigo <aseigo () olympusproject ! org>
Date:       2003-01-23 7:13:36
[Download RAW message or body]

CVS commit by aseigo: 

bug#52615 ... credit where credit is due: add kaboutdata


  M +19 -0     main.cpp   1.9
  M +1 -0      main.h   1.3


--- kdebase/kcontrol/icons/main.cpp  #1.8:1.9
@@ -24,4 +24,5 @@
 #include <qlayout.h>
 
+#include <kaboutdata.h>
 #include <kglobal.h>
 #include <klocale.h>
@@ -87,4 +88,22 @@ QString IconModule::quickHelp() const
     "You can also specify effects that should be applied to the icons.\n"
     "Use the \"Whats This?\" (Shift+F1) to get help on specific options.");
+}
+
+
+const KAboutData *IconModule::aboutData() const
+{
+    static KAboutData* ab = 0;
+
+    if (!ab)
+    {
+        ab = new KAboutData("kcmicons", I18N_NOOP("Icons"), "3.0",
+                            I18N_NOOP("Icons Control Panel Module"),
+                            KAboutData::License_GPL,
+                            I18N_NOOP("(c) 2000-2003 Geert Jansen"), 0, 0);
+        ab->addAuthor("Geert Jansen", 0, "jansen@kde.org");
+        ab->addCredit("Torsten Rahn", 0, "torsten@kde.org");
+    }
+
+    return ab;
 }
 

--- kdebase/kcontrol/icons/main.h  #1.2:1.3
@@ -41,4 +41,5 @@ public:
   void defaults();
   QString quickHelp() const;
+  const KAboutData *aboutData() const;
 
 protected slots:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic