summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-22 20:20:05 -0600
committerTimothy Pearson <[email protected]>2013-01-22 20:20:05 -0600
commitb19ddece21e102b8e4b292037ca7578f60b128fe (patch)
tree6572ca25aba80849cdfa7578bbbc9121d23afbc3 /kate/part
parente729c6d549f12e27b358a1dad04ff254c033ac71 (diff)
downloadtdelibs-b19ddece21e102b8e4b292037ca7578f60b128fe.tar.gz
tdelibs-b19ddece21e102b8e4b292037ca7578f60b128fe.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'kate/part')
-rw-r--r--kate/part/katefactory.cpp2
-rw-r--r--kate/part/katefactory.h6
2 files changed, 4 insertions, 4 deletions
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