Commit 47156c38 authored by R. Harish Navnit's avatar R. Harish Navnit Committed by Pali Rohár

Port KAboutData to K4AboutData

parent c563f120
......@@ -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(), "rich@kde.org", "http://xmelegance.org/" );
aboutData->addAuthor(ki18n("Jason Keirstead"), KLocalizedString(), "jason@keirstead.org", "http://www.keirstead.org/" );
aboutData->addAuthor(ki18n("Michaël Larouche"), KLocalizedString(), "larouche@kde.org" "http://www.tehbisnatch.org/" );
......
......@@ -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.
......
......@@ -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("kopete-devel@kde.org"), "http://kopete.kde.org");
aboutData.addAuthor ( ki18n("Pali Rohár"), ki18n("Developer and maintainer"), "pali.rohar@gmail.com" );
......
......@@ -21,7 +21,7 @@
#include <qtimer.h>
#include <kaboutdata.h>
#include <K4AboutData>
#include <kactioncollection.h>
#include <QAction>
#include <QMenu>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment