diff options
author | Timothy Pearson <[email protected]> | 2013-01-22 19:51:35 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-22 19:51:35 -0600 |
commit | 267706e1270bedd77c0e36d8925ecba303d8725d (patch) | |
tree | b7b5409e3c1eea4e95108d14d8a83620122f2260 | |
parent | 9cc3e244ea10df42f7270494bd4662aa0f911378 (diff) | |
download | k3b-267706e1270bedd77c0e36d8925ecba303d8725d.tar.gz k3b-267706e1270bedd77c0e36d8925ecba303d8725d.zip |
Rename KInstance and KAboutData to avoid conflicts with KDE4
-rw-r--r-- | k3bsetup/k3bsetup2.cpp | 4 | ||||
-rw-r--r-- | k3bsetup/k3bsetup2.h | 4 | ||||
-rw-r--r-- | kioslaves/videodvd/videodvd.cpp | 2 | ||||
-rw-r--r-- | libk3b/core/k3bcore.h | 2 | ||||
-rw-r--r-- | libk3b/plugin/k3bpluginfactory.cpp | 6 | ||||
-rw-r--r-- | libk3b/plugin/k3bpluginfactory.h | 10 | ||||
-rw-r--r-- | libk3bdevice/k3bdebug.h | 2 | ||||
-rw-r--r-- | src/main.cpp | 4 |
8 files changed, 17 insertions, 17 deletions
diff --git a/k3bsetup/k3bsetup2.cpp b/k3bsetup/k3bsetup2.cpp index 38583d2..9b9e78e 100644 --- a/k3bsetup/k3bsetup2.cpp +++ b/k3bsetup/k3bsetup2.cpp @@ -112,9 +112,9 @@ K3bSetup2::K3bSetup2( TQWidget *parent, const char *, const TQStringList& ) d = new Private(); d->config = new KConfig( "k3bsetup2rc" ); - m_aboutData = new KAboutData("k3bsetup2", + m_aboutData = new TDEAboutData("k3bsetup2", "K3bSetup 2", - 0, 0, KAboutData::License_GPL, + 0, 0, TDEAboutData::License_GPL, "(C) 2003-2007 Sebastian Trueg"); m_aboutData->addAuthor("Sebastian Trueg", 0, "[email protected]"); diff --git a/k3bsetup/k3bsetup2.h b/k3bsetup/k3bsetup2.h index e668521..9bd6b79 100644 --- a/k3bsetup/k3bsetup2.h +++ b/k3bsetup/k3bsetup2.h @@ -35,7 +35,7 @@ class K3bSetup2: public KCModule ~K3bSetup2(); TQString quickHelp() const; - const KAboutData* aboutData() { return m_aboutData; }; + const TDEAboutData* aboutData() { return m_aboutData; }; void load(); void save(); @@ -60,7 +60,7 @@ class K3bSetup2: public KCModule base_K3bSetup2* w; - KAboutData* m_aboutData; + TDEAboutData* m_aboutData; }; #endif diff --git a/kioslaves/videodvd/videodvd.cpp b/kioslaves/videodvd/videodvd.cpp index 48eac77..ebf937f 100644 --- a/kioslaves/videodvd/videodvd.cpp +++ b/kioslaves/videodvd/videodvd.cpp @@ -42,7 +42,7 @@ extern "C" { LIBK3B_EXPORT int kdemain( int argc, char **argv ) { - KInstance instance( "kio_videodvd" ); + TDEInstance instance( "kio_videodvd" ); kdDebug(7101) << "*** Starting kio_videodvd " << endl; diff --git a/libk3b/core/k3bcore.h b/libk3b/core/k3bcore.h index a8da3c9..9ad04aa 100644 --- a/libk3b/core/k3bcore.h +++ b/libk3b/core/k3bcore.h @@ -31,7 +31,7 @@ class K3bExternalBinManager; class K3bVersion; class KConfig; -class KAboutData; +class TDEAboutData; class K3bJob; class K3bBurnJob; class K3bGlobalSettings; diff --git a/libk3b/plugin/k3bpluginfactory.cpp b/libk3b/plugin/k3bpluginfactory.cpp index 7d8f8fe..6b4298a 100644 --- a/libk3b/plugin/k3bpluginfactory.cpp +++ b/libk3b/plugin/k3bpluginfactory.cpp @@ -17,7 +17,7 @@ template <class T> -KInstance* K3bPluginFactory<T>::s_instance = 0; +TDEInstance* K3bPluginFactory<T>::s_instance = 0; template <class T> @@ -25,9 +25,9 @@ K3bPluginFactory<T>* K3bPluginFactory<T>::s_self = 0; template <class T> -KInstance* K3bPluginFactory<T>::instance() +TDEInstance* K3bPluginFactory<T>::instance() { if( !s_instance && s_self ) - s_instance = new KInstance( s_self->m_instanceName ); + s_instance = new TDEInstance( s_self->m_instanceName ); return s_instance; } diff --git a/libk3b/plugin/k3bpluginfactory.h b/libk3b/plugin/k3bpluginfactory.h index 7892dfa..6e4da16 100644 --- a/libk3b/plugin/k3bpluginfactory.h +++ b/libk3b/plugin/k3bpluginfactory.h @@ -49,7 +49,7 @@ class K3bPluginFactory : public KLibFactory s_self = 0; } - static KInstance* instance(); + static TDEInstance* instance(); protected: virtual void setupTranslations( void ) { @@ -74,13 +74,13 @@ class K3bPluginFactory : public KLibFactory TQCString m_instanceName; bool m_catalogueInitialized; - static KInstance* s_instance; + static TDEInstance* s_instance; static K3bPluginFactory<T> *s_self; }; template <class T> -KInstance* K3bPluginFactory<T>::s_instance = 0; +TDEInstance* K3bPluginFactory<T>::s_instance = 0; template <class T> @@ -88,10 +88,10 @@ K3bPluginFactory<T>* K3bPluginFactory<T>::s_self = 0; template <class T> -KInstance* K3bPluginFactory<T>::instance() +TDEInstance* K3bPluginFactory<T>::instance() { if( !s_instance && s_self ) - s_instance = new KInstance( s_self->m_instanceName ); + s_instance = new TDEInstance( s_self->m_instanceName ); return s_instance; } diff --git a/libk3bdevice/k3bdebug.h b/libk3bdevice/k3bdebug.h index a1500ff..68146cf 100644 --- a/libk3bdevice/k3bdebug.h +++ b/libk3bdevice/k3bdebug.h @@ -27,7 +27,7 @@ class K3bDebug; typedef K3bDebug& (*K3BDBGFUNC)( K3bDebug& ); /** - * K3bDebug as compared to KDebug does not need anything. No KInstance or whatever + * K3bDebug as compared to KDebug does not need anything. No TDEInstance or whatever * and does not use anything except fprintf. * Thus, K3bDebug is fully thread-safe and safe in general */ diff --git a/src/main.cpp b/src/main.cpp index 2fcdda3..06a6d21 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,8 +76,8 @@ static KCmdLineOptions options[] = int main( int argc, char* argv[] ) { - KAboutData aboutData( "k3b", "K3b", - LIBK3B_VERSION, description, KAboutData::License_GPL, + TDEAboutData aboutData( "k3b", "K3b", + LIBK3B_VERSION, description, TDEAboutData::License_GPL, "(c) 1999 - 2007, Sebastian Trüg", 0, "http://www.k3b.org" ); aboutData.addAuthor("Sebastian Trüg",I18N_NOOP("Maintainer and Lead Developer"), "[email protected]"); aboutData.addAuthor("Christian Kvasny",I18N_NOOP("VideoCD Project and VideoCD ripping"), "[email protected]"); |