From b19ddece21e102b8e4b292037ca7578f60b128fe Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:20:05 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- kate/part/katefactory.cpp | 2 +- kate/part/katefactory.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kate/part') diff --git a/kate/part/katefactory.cpp b/kate/part/katefactory.cpp index 64bde8718..aa4c43658 100644 --- a/kate/part/katefactory.cpp +++ b/kate/part/katefactory.cpp @@ -68,7 +68,7 @@ KateFactory *KateFactory::s_self = 0; KateFactory::KateFactory () : m_aboutData ("katepart", I18N_NOOP("Kate Part"), KATEPART_VERSION, - I18N_NOOP( "Embeddable editor component" ), KAboutData::License_LGPL_V2, + I18N_NOOP( "Embeddable editor component" ), TDEAboutData::License_LGPL_V2, I18N_NOOP( "(c) 2000-2004 The Kate Authors" ), 0, "http://kate.kde.org") , m_instance (&m_aboutData) , m_plugins (KTrader::self()->query("KTextEditor/Plugin")) diff --git a/kate/part/katefactory.h b/kate/part/katefactory.h index 0fd939ce3..79d3ac011 100644 --- a/kate/part/katefactory.h +++ b/kate/part/katefactory.h @@ -87,7 +87,7 @@ class KateFactory * public accessor to the instance * @return instance */ - inline KInstance *instance () { return &m_instance; }; + inline TDEInstance *instance () { return &m_instance; }; /** * register document at the factory @@ -221,12 +221,12 @@ class KateFactory /** * about data (authors and more) */ - KAboutData m_aboutData; + TDEAboutData m_aboutData; /** * our kinstance */ - KInstance m_instance; + TDEInstance m_instance; /** * registered docs -- cgit v1.2.1