summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. Harish Navnit <[email protected]>2015-10-29 18:23:59 +0530
committerPali Rohár <[email protected]>2017-12-22 09:10:19 +0100
commit47156c38b2b6d6f9e5379e28af192d6fb04cd4a5 (patch)
treeb2293f7597f68783040f7d943222b95bf4502fa5
parentc563f12083ac7ee0e1ae0767b880b37d485db75f (diff)
Port KAboutData to K4AboutData
-rw-r--r--kopete/chatwindow/chattexteditpart.cpp6
-rw-r--r--kopete/chatwindow/chattexteditpart.h5
-rw-r--r--kopete/main.cpp6
-rw-r--r--kopete/systemtray.cpp2
4 files changed, 10 insertions, 9 deletions
diff --git a/kopete/chatwindow/chattexteditpart.cpp b/kopete/chatwindow/chattexteditpart.cpp
index d69ca21..95d7f8a 100644
--- a/kopete/chatwindow/chattexteditpart.cpp
+++ b/kopete/chatwindow/chattexteditpart.cpp
@@ -502,11 +502,11 @@ void ChatTextEditPart::checkToolbarEnabled()
emit toolbarToggled( isRichTextEnabled() );
}
-KAboutData *ChatTextEditPart::createAboutData()
+K4AboutData *ChatTextEditPart::createAboutData()
{
- KAboutData *aboutData = new KAboutData("krichtexteditpart", 0, ki18n("Chat Text Edit Part"), "0.1",
+ K4AboutData *aboutData = new K4AboutData("krichtexteditpart", 0, ki18n("Chat Text Edit Part"), "0.1",
ki18n("A simple rich text editor part"),
- KAboutData::License_LGPL );
+ K4AboutData::License_LGPL );
aboutData->addAuthor(ki18n("Richard J. Moore"), KLocalizedString(), "[email protected]", "http://xmelegance.org/" );
aboutData->addAuthor(ki18n("Jason Keirstead"), KLocalizedString(), "[email protected]", "http://www.keirstead.org/" );
aboutData->addAuthor(ki18n("Michaël Larouche"), KLocalizedString(), "[email protected]" "http://www.tehbisnatch.org/" );
diff --git a/kopete/chatwindow/chattexteditpart.h b/kopete/chatwindow/chattexteditpart.h
index f6efe9c..ad82742 100644
--- a/kopete/chatwindow/chattexteditpart.h
+++ b/kopete/chatwindow/chattexteditpart.h
@@ -17,8 +17,10 @@
#ifndef CHATTEXTEDITPART_H
#define CHATTEXTEDITPART_H
+
#include <kparts/part.h>
#include <krichtextedit.h>
+#include <K4AboutData>
#include "kopeterichtextwidget.h"
#include <QFont>
@@ -29,7 +31,6 @@
// TODO: Use kdelibs export
#include <kopete_export.h>
-class KAboutData;
class KTextEdit;
class KConfigGroup;
class KCompletion;
@@ -88,7 +89,7 @@ public:
*/
bool checkSpellingEnabled() const;
- static KAboutData *createAboutData();
+ static K4AboutData *createAboutData();
/**
* @brief Disable file open, because it's not used by this part.
diff --git a/kopete/main.cpp b/kopete/main.cpp
index 8c08005..43c6aa2 100644
--- a/kopete/main.cpp
+++ b/kopete/main.cpp
@@ -18,7 +18,7 @@
*/
#include <kcmdlineargs.h>
-#include <kaboutdata.h>
+#include <K4AboutData>
#include <klocale.h>
#include "kopeteapplication.h"
@@ -29,8 +29,8 @@ static const char description[] =
int main( int argc, char *argv[] )
{
- KAboutData aboutData( "kopete", 0, ki18n("Kopete"),
- KOPETE_VERSION_STRING, ki18n(description), KAboutData::License_GPL,
+ K4AboutData aboutData( "kopete", 0, ki18n("Kopete"),
+ KOPETE_VERSION_STRING, ki18n(description), K4AboutData::License_GPL,
ki18n("(c) 2001-2004, Duncan Mac-Vicar Prett\n(c) 2002-2016, Kopete Development Team"), ki18n("[email protected]"), "http://kopete.kde.org");
aboutData.addAuthor ( ki18n("Pali Rohár"), ki18n("Developer and maintainer"), "[email protected]" );
diff --git a/kopete/systemtray.cpp b/kopete/systemtray.cpp
index d2bd761..e964aa4 100644
--- a/kopete/systemtray.cpp
+++ b/kopete/systemtray.cpp
@@ -21,7 +21,7 @@
#include <qtimer.h>
-#include <kaboutdata.h>
+#include <K4AboutData>
#include <kactioncollection.h>
#include <QAction>
#include <QMenu>