diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 20:13:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 20:13:30 -0600 |
commit | 609724b5d29f25236bee59d0cb794602d391a96b (patch) | |
tree | 6a7cbc4d42a570e50e44ad782d9bc6cdee289edb /konq-plugins | |
parent | da2af448849a961235925b69430584d0bfe94b1f (diff) | |
download | tdeaddons-609724b5d29f25236bee59d0cb794602d391a96b.tar.gz tdeaddons-609724b5d29f25236bee59d0cb794602d391a96b.zip |
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'konq-plugins')
20 files changed, 32 insertions, 32 deletions
diff --git a/konq-plugins/autorefresh/autorefresh.h b/konq-plugins/autorefresh/autorefresh.h index 324b828..b805921 100644 --- a/konq-plugins/autorefresh/autorefresh.h +++ b/konq-plugins/autorefresh/autorefresh.h @@ -11,7 +11,7 @@ #include <klibloader.h> class KURL; -class KInstance; +class TDEInstance; class TQTimer; /** diff --git a/konq-plugins/babelfish/plugin_babelfish.cpp b/konq-plugins/babelfish/plugin_babelfish.cpp index 4d1a61b..3848f3b 100644 --- a/konq-plugins/babelfish/plugin_babelfish.cpp +++ b/konq-plugins/babelfish/plugin_babelfish.cpp @@ -31,7 +31,7 @@ #include <khtml_part.h> typedef KGenericFactory<PluginBabelFish> BabelFishFactory; -static const KAboutData aboutdata("babelfish", I18N_NOOP("Translate Web Page") , "1.0" ); +static const TDEAboutData aboutdata("babelfish", I18N_NOOP("Translate Web Page") , "1.0" ); K_EXPORT_COMPONENT_FACTORY( libbabelfishplugin, BabelFishFactory( &aboutdata ) ) PluginBabelFish::PluginBabelFish( TQObject* parent, const char* name, diff --git a/konq-plugins/fsview/fsview_part.cpp b/konq-plugins/fsview/fsview_part.cpp index 205d994..3a913ec 100644 --- a/konq-plugins/fsview/fsview_part.cpp +++ b/konq-plugins/fsview/fsview_part.cpp @@ -83,12 +83,12 @@ void FSJob::progressSlot(int percent, int dirs, const TQString& cDir) // FSViewPart -KAboutData* FSViewPart::createAboutData() +TDEAboutData* FSViewPart::createAboutData() { - KAboutData* aboutData; - aboutData = new KAboutData("fsview", I18N_NOOP("FSView"), "0.1.1", + TDEAboutData* aboutData; + aboutData = new TDEAboutData("fsview", I18N_NOOP("FSView"), "0.1.1", I18N_NOOP("Filesystem Utilization Viewer"), - KAboutData::License_GPL, + TDEAboutData::License_GPL, I18N_NOOP("(c) 2003-2005, Josef Weidendorfer")); return aboutData; } diff --git a/konq-plugins/fsview/fsview_part.h b/konq-plugins/fsview/fsview_part.h index 23ffe32..0919918 100644 --- a/konq-plugins/fsview/fsview_part.h +++ b/konq-plugins/fsview/fsview_part.h @@ -29,7 +29,7 @@ #include "fsview.h" -class KAboutData; +class TDEAboutData; class KActionMenu; class FSViewPart; @@ -93,7 +93,7 @@ public: bool supportsUndo() const { return false; } - static KAboutData* createAboutData(); + static TDEAboutData* createAboutData(); FSView* view() const { return _view; } public slots: diff --git a/konq-plugins/fsview/main.cpp b/konq-plugins/fsview/main.cpp index 105f4c4..f2f2daf 100644 --- a/konq-plugins/fsview/main.cpp +++ b/konq-plugins/fsview/main.cpp @@ -23,9 +23,9 @@ static KCmdLineOptions options[] = int main(int argc, char* argv[]) { // KDE compliant startup - KAboutData aboutData("fsview", I18N_NOOP("FSView"), "0.1", + TDEAboutData aboutData("fsview", I18N_NOOP("FSView"), "0.1", I18N_NOOP("Filesystem Viewer"), - KAboutData::License_GPL, + TDEAboutData::License_GPL, I18N_NOOP("(c) 2002, Josef Weidendorfer")); TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::addCmdLineOptions(options); diff --git a/konq-plugins/khtmlsettingsplugin/settingsplugin.cpp b/konq-plugins/khtmlsettingsplugin/settingsplugin.cpp index d9f5219..af688f1 100644 --- a/konq-plugins/khtmlsettingsplugin/settingsplugin.cpp +++ b/konq-plugins/khtmlsettingsplugin/settingsplugin.cpp @@ -35,7 +35,7 @@ #include "settingsplugin.h" typedef KGenericFactory<SettingsPlugin> SettingsPluginFactory; -static const KAboutData aboutdata("khtmlsettingsplugin", I18N_NOOP("HTML Settings") , "1.0" ); +static const TDEAboutData aboutdata("khtmlsettingsplugin", I18N_NOOP("HTML Settings") , "1.0" ); K_EXPORT_COMPONENT_FACTORY( libkhtmlsettingsplugin, SettingsPluginFactory( &aboutdata ) ) diff --git a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp index 0115385..95abf73 100644 --- a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp +++ b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp @@ -36,8 +36,8 @@ K_EXPORT_COMPONENT_FACTORY ( kcm_kuick, KuickFactory( "kcmkuick" ) ) KCMKuick::KCMKuick(TQWidget *parent, const char *name, const TQStringList &) :KCModule(parent, name) { - KAboutData *ab=new KAboutData( "kcmkuick", I18N_NOOP("KCM Kuick"), - "0.2",I18N_NOOP("KControl module for Kuick's configuration"), KAboutData::License_GPL, + TDEAboutData *ab=new TDEAboutData( "kcmkuick", I18N_NOOP("KCM Kuick"), + "0.2",I18N_NOOP("KControl module for Kuick's configuration"), TDEAboutData::License_GPL, "(c) 2001, Holger Freyther", 0, 0, "freyther@kde.org"); ab->addAuthor("Holger Freyther",0, "freyther@kde.org"); setAboutData( ab ); diff --git a/konq-plugins/rellinks/plugin_rellinks.cpp b/konq-plugins/rellinks/plugin_rellinks.cpp index 4f62c05..d2b2826 100644 --- a/konq-plugins/rellinks/plugin_rellinks.cpp +++ b/konq-plugins/rellinks/plugin_rellinks.cpp @@ -54,7 +54,7 @@ typedef KGenericFactory<RelLinksPlugin> RelLinksFactory; #include <tdeversion.h> #if KDE_IS_VERSION(3,2,90) #include <kaboutdata.h> -static const KAboutData aboutdata("rellinks", I18N_NOOP("Rellinks") , "1.0" ); +static const TDEAboutData aboutdata("rellinks", I18N_NOOP("Rellinks") , "1.0" ); K_EXPORT_COMPONENT_FACTORY( librellinksplugin, RelLinksFactory(&aboutdata) ) #else K_EXPORT_COMPONENT_FACTORY( librellinksplugin, RelLinksFactory("rellinks") ) diff --git a/konq-plugins/sidebar/delicious/plugin.cpp b/konq-plugins/sidebar/delicious/plugin.cpp index f57a9d6..b033e92 100644 --- a/konq-plugins/sidebar/delicious/plugin.cpp +++ b/konq-plugins/sidebar/delicious/plugin.cpp @@ -27,7 +27,7 @@ #include <klocale.h> #include <kglobal.h> -KonqSidebarDelicious::KonqSidebarDelicious( KInstance *instance, TQObject *parent, +KonqSidebarDelicious::KonqSidebarDelicious( TDEInstance *instance, TQObject *parent, TQWidget *widgetParent, TQString &desktopName_, const char* name ) : KonqSidebarPlugin( instance, parent, widgetParent, desktopName_, name ), @@ -68,7 +68,7 @@ bool KonqSidebarDelicious::universalMode() extern "C" { - KDE_EXPORT void* create_konqsidebar_delicious( KInstance *instance, TQObject *par, TQWidget *widp, + KDE_EXPORT void* create_konqsidebar_delicious( TDEInstance *instance, TQObject *par, TQWidget *widp, TQString &desktopname, const char *name ) { KGlobal::locale()->insertCatalogue( "konqsidebar_delicious" ); diff --git a/konq-plugins/sidebar/delicious/plugin.h b/konq-plugins/sidebar/delicious/plugin.h index 425cd51..7ac71a8 100644 --- a/konq-plugins/sidebar/delicious/plugin.h +++ b/konq-plugins/sidebar/delicious/plugin.h @@ -43,7 +43,7 @@ class KonqSidebarDelicious: public KonqSidebarPlugin, DCOPObject // K_DCOP public: - KonqSidebarDelicious( KInstance * instance, TQObject * parent, TQWidget * widgetParent, + KonqSidebarDelicious( TDEInstance * instance, TQObject * parent, TQWidget * widgetParent, TQString & desktopName_, const char * name = 0 ); ~KonqSidebarDelicious(); virtual void * provides( const TQString & ); diff --git a/konq-plugins/sidebar/mediaplayer/mediaplayer.cpp b/konq-plugins/sidebar/mediaplayer/mediaplayer.cpp index 305cc0b..ab6463b 100644 --- a/konq-plugins/sidebar/mediaplayer/mediaplayer.cpp +++ b/konq-plugins/sidebar/mediaplayer/mediaplayer.cpp @@ -27,7 +27,7 @@ #include <kdemacros.h> #include "mediawidget.h" -KonqSidebar_MediaPlayer::KonqSidebar_MediaPlayer(KInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name): +KonqSidebar_MediaPlayer::KonqSidebar_MediaPlayer(TDEInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name): KonqSidebarPlugin(instance,parent,widgetParent,desktopName_,name) { widget=new KSB_MediaWidget(widgetParent); @@ -51,7 +51,7 @@ void KonqSidebar_MediaPlayer::handleURL(const KURL &/*url*/) extern "C" { - KDE_EXPORT void* create_konqsidebar_mediaplayer(KInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) + KDE_EXPORT void* create_konqsidebar_mediaplayer(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) { KGlobal::locale()->insertCatalogue("konqsidebar_mediaplayer"); return new KonqSidebar_MediaPlayer(instance,par,widp,desktopname,name); diff --git a/konq-plugins/sidebar/mediaplayer/mediaplayer.h b/konq-plugins/sidebar/mediaplayer/mediaplayer.h index d37c432..ee1a299 100644 --- a/konq-plugins/sidebar/mediaplayer/mediaplayer.h +++ b/konq-plugins/sidebar/mediaplayer/mediaplayer.h @@ -29,7 +29,7 @@ class KonqSidebar_MediaPlayer: public KonqSidebarPlugin Q_OBJECT public: - KonqSidebar_MediaPlayer(KInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name=0); + KonqSidebar_MediaPlayer(TDEInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name=0); ~KonqSidebar_MediaPlayer(); virtual void *provides(const TQString &); void emitStatusBarText (const TQString &); diff --git a/konq-plugins/sidebar/metabar/src/metabar.cpp b/konq-plugins/sidebar/metabar/src/metabar.cpp index 0a7528f..9839fd0 100644 --- a/konq-plugins/sidebar/metabar/src/metabar.cpp +++ b/konq-plugins/sidebar/metabar/src/metabar.cpp @@ -7,7 +7,7 @@ #include "metabar.h" #include "metabar.moc" -Metabar::Metabar(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name): +Metabar::Metabar(TDEInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name): KonqSidebarPlugin(inst,parent,widgetParent,desktopName,name) { KImageIO::registerFormats(); @@ -52,7 +52,7 @@ extern "C" { extern "C" { - void* create_konqsidebar_metabar(KInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) + void* create_konqsidebar_metabar(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) { return new Metabar(instance,par,widp,desktopname,name); } diff --git a/konq-plugins/sidebar/metabar/src/metabar.h b/konq-plugins/sidebar/metabar/src/metabar.h index aed2e69..29c8efa 100644 --- a/konq-plugins/sidebar/metabar/src/metabar.h +++ b/konq-plugins/sidebar/metabar/src/metabar.h @@ -16,7 +16,7 @@ class Metabar : public KonqSidebarPlugin public: - Metabar(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name=0); + Metabar(TDEInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name=0); ~Metabar(); virtual TQWidget *getWidget(){ return widget; } diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp index edaa1f4..30aedb4 100644 --- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp +++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp @@ -59,11 +59,11 @@ namespace KSB_News { pages.setAutoDelete(TRUE); // about dialog - m_aboutdata = new KAboutData("konq_sidebarnews", + m_aboutdata = new TDEAboutData("konq_sidebarnews", I18N_NOOP("Newsticker"), KDE::versionString(), I18N_NOOP("RSS Feed Viewer"), - KAboutData::License_LGPL, + TDEAboutData::License_LGPL, I18N_NOOP("(c) 2002-2004, the Sidebar Newsticker developers")); m_aboutdata->addAuthor("Marcus Camen", I18N_NOOP("Maintainer"), "mcamen@mcamen.de"); diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h index 98b436e..53934f4 100644 --- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h +++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h @@ -36,7 +36,7 @@ class TQVBoxLayout; class TQPushButton; class TQStringList; class KPopupMenu; -class KAboutData; +class TDEAboutData; class KAboutApplication; class KBugReport; class KConfigDialog; @@ -77,7 +77,7 @@ namespace KSB_News { TQVBoxLayout *layout; TQWidget *currentPage; KPopupMenu *popup, *helpmenu; - KAboutData *m_aboutdata; + TDEAboutData *m_aboutdata; KAboutApplication *m_about; KBugReport *m_bugreport; TQPushButton *m_last_button_rightclicked; diff --git a/konq-plugins/sidebar/newsticker/sidebar_news.cpp b/konq-plugins/sidebar/newsticker/sidebar_news.cpp index de6788f..1ba4f94 100644 --- a/konq-plugins/sidebar/newsticker/sidebar_news.cpp +++ b/konq-plugins/sidebar/newsticker/sidebar_news.cpp @@ -46,7 +46,7 @@ namespace KSB_News { - KonqSidebar_News::KonqSidebar_News(KInstance *inst, TQObject *parent, + KonqSidebar_News::KonqSidebar_News(TDEInstance *inst, TQObject *parent, TQWidget *widgetParent, TQString &desktopName, const char* name) : KonqSidebarPlugin(inst, parent, widgetParent, desktopName, name), @@ -252,7 +252,7 @@ namespace KSB_News { extern "C" { - KDE_EXPORT void* create_konq_sidebarnews(KInstance *instance, TQObject *par, + KDE_EXPORT void* create_konq_sidebarnews(TDEInstance *instance, TQObject *par, TQWidget *widp, TQString &desktopname, const char *name) { diff --git a/konq-plugins/sidebar/newsticker/sidebar_news.h b/konq-plugins/sidebar/newsticker/sidebar_news.h index 84bbb27..048ead5 100644 --- a/konq-plugins/sidebar/newsticker/sidebar_news.h +++ b/konq-plugins/sidebar/newsticker/sidebar_news.h @@ -48,7 +48,7 @@ namespace KSB_News { K_DCOP public: - KonqSidebar_News(KInstance *instance, TQObject *parent, + KonqSidebar_News(TDEInstance *instance, TQObject *parent, TQWidget *widgetParent, TQString &desktopName_, const char* name=0); ~KonqSidebar_News(); diff --git a/konq-plugins/uachanger/uachangerplugin.cpp b/konq-plugins/uachanger/uachangerplugin.cpp index dc241b7..f216c18 100644 --- a/konq-plugins/uachanger/uachangerplugin.cpp +++ b/konq-plugins/uachanger/uachangerplugin.cpp @@ -42,7 +42,7 @@ #include "uachangerplugin.h" typedef KGenericFactory<UAChangerPlugin> UAChangerPluginFactory; -static const KAboutData aboutdata("uachangerplugin", I18N_NOOP("Change Browser Identification") , "1.0" ); +static const TDEAboutData aboutdata("uachangerplugin", I18N_NOOP("Change Browser Identification") , "1.0" ); K_EXPORT_COMPONENT_FACTORY (libuachangerplugin, UAChangerPluginFactory (&aboutdata)) diff --git a/konq-plugins/validators/plugin_validators.cpp b/konq-plugins/validators/plugin_validators.cpp index f669308..9175402 100644 --- a/konq-plugins/validators/plugin_validators.cpp +++ b/konq-plugins/validators/plugin_validators.cpp @@ -40,7 +40,7 @@ typedef KGenericFactory<PluginValidators> PluginValidatorsFactory; -static const KAboutData aboutdata("validatorsplugin", I18N_NOOP("Validate Web Page") , "1.0" ); +static const TDEAboutData aboutdata("validatorsplugin", I18N_NOOP("Validate Web Page") , "1.0" ); K_EXPORT_COMPONENT_FACTORY( libvalidatorsplugin, PluginValidatorsFactory( &aboutdata ) ) |