diff options
Diffstat (limited to 'kmymoney2/plugins')
24 files changed, 44 insertions, 44 deletions
diff --git a/kmymoney2/plugins/importinterface.cpp b/kmymoney2/plugins/importinterface.cpp index 9c90df8..6a4ab6b 100644 --- a/kmymoney2/plugins/importinterface.cpp +++ b/kmymoney2/plugins/importinterface.cpp @@ -26,8 +26,8 @@ #include "importinterface.h" -KMyMoneyPlugin::ImportInterface::ImportInterface(TQObject* tqparent, const char* name) : - TQObject(tqparent, name) +KMyMoneyPlugin::ImportInterface::ImportInterface(TQObject* parent, const char* name) : + TQObject(parent, name) { } diff --git a/kmymoney2/plugins/importinterface.h b/kmymoney2/plugins/importinterface.h index 26083c1..22df51a 100644 --- a/kmymoney2/plugins/importinterface.h +++ b/kmymoney2/plugins/importinterface.h @@ -52,10 +52,10 @@ class KMYMONEY_EXPORT ImportInterface : public TQObject TQ_OBJECT public: - ImportInterface(TQObject* tqparent, const char* name = 0); + ImportInterface(TQObject* parent, const char* name = 0); ~ImportInterface() {} - virtual KURL selectFile(const TQString& title, const TQString& path, const TQString& tqmask, KFile::Mode mode) const = 0; + virtual KURL selectFile(const TQString& title, const TQString& path, const TQString& mask, KFile::Mode mode) const = 0; signals: }; diff --git a/kmymoney2/plugins/interfaces/kmmimportinterface.cpp b/kmymoney2/plugins/interfaces/kmmimportinterface.cpp index d21959b..041044e 100644 --- a/kmymoney2/plugins/interfaces/kmmimportinterface.cpp +++ b/kmymoney2/plugins/interfaces/kmmimportinterface.cpp @@ -27,15 +27,15 @@ #include "../../kmymoney2.h" #include "kmmimportinterface.h" -KMyMoneyPlugin::KMMImportInterface::KMMImportInterface(KMyMoney2App* app, TQObject* tqparent, const char* name) : - ImportInterface(tqparent, name), +KMyMoneyPlugin::KMMImportInterface::KMMImportInterface(KMyMoney2App* app, TQObject* parent, const char* name) : + ImportInterface(parent, name), m_app(app) { } -KURL KMyMoneyPlugin::KMMImportInterface::selectFile(const TQString& title, const TQString& path, const TQString& tqmask, KFile::Mode mode) const +KURL KMyMoneyPlugin::KMMImportInterface::selectFile(const TQString& title, const TQString& path, const TQString& mask, KFile::Mode mode) const { - return m_app->selectFile(title, path, tqmask, mode); + return m_app->selectFile(title, path, mask, mode); } #include "kmmimportinterface.moc" diff --git a/kmymoney2/plugins/interfaces/kmmimportinterface.h b/kmymoney2/plugins/interfaces/kmmimportinterface.h index 97ffa5e..0cea34a 100644 --- a/kmymoney2/plugins/interfaces/kmmimportinterface.h +++ b/kmymoney2/plugins/interfaces/kmmimportinterface.h @@ -48,10 +48,10 @@ class KMMImportInterface : public ImportInterface { TQ_OBJECT public: - KMMImportInterface(KMyMoney2App* app, TQObject* tqparent, const char* name = 0); + KMMImportInterface(KMyMoney2App* app, TQObject* parent, const char* name = 0); ~KMMImportInterface() {} - KURL selectFile(const TQString& title, const TQString& path, const TQString& tqmask, KFile::Mode mode) const; + KURL selectFile(const TQString& title, const TQString& path, const TQString& mask, KFile::Mode mode) const; private: KMyMoney2App* m_app; diff --git a/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp b/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp index c14caea..7fcefb0 100644 --- a/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp +++ b/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp @@ -31,8 +31,8 @@ #include <kmymoney/mymoneyaccount.h> #include <kmymoney/mymoneykeyvaluecontainer.h> -KMyMoneyPlugin::KMMStatementInterface::KMMStatementInterface(KMyMoney2App* app, TQObject* tqparent, const char* name) : - StatementInterface(tqparent, name), +KMyMoneyPlugin::KMMStatementInterface::KMMStatementInterface(KMyMoney2App* app, TQObject* parent, const char* name) : + StatementInterface(parent, name), m_app(app) { } diff --git a/kmymoney2/plugins/interfaces/kmmstatementinterface.h b/kmymoney2/plugins/interfaces/kmmstatementinterface.h index 6eee779..df7677a 100644 --- a/kmymoney2/plugins/interfaces/kmmstatementinterface.h +++ b/kmymoney2/plugins/interfaces/kmmstatementinterface.h @@ -49,7 +49,7 @@ class KMMStatementInterface : public StatementInterface TQ_OBJECT public: - KMMStatementInterface(KMyMoney2App* app, TQObject* tqparent, const char* name = 0); + KMMStatementInterface(KMyMoney2App* app, TQObject* parent, const char* name = 0); ~KMMStatementInterface() {} /** diff --git a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp index cc6ec5b..b4ff102 100644 --- a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp +++ b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp @@ -29,8 +29,8 @@ #include "../../widgets/selectedtransaction.h" #include "kmmviewinterface.h" -KMyMoneyPlugin::KMMViewInterface::KMMViewInterface(KMyMoney2App* app, KMyMoneyView* view, TQObject* tqparent, const char* name) : - ViewInterface(tqparent, name), +KMyMoneyPlugin::KMMViewInterface::KMMViewInterface(KMyMoney2App* app, KMyMoneyView* view, TQObject* parent, const char* name) : + ViewInterface(parent, name), m_app(app), m_view(view) { diff --git a/kmymoney2/plugins/interfaces/kmmviewinterface.h b/kmymoney2/plugins/interfaces/kmmviewinterface.h index 9797a8c..da9fb8e 100644 --- a/kmymoney2/plugins/interfaces/kmmviewinterface.h +++ b/kmymoney2/plugins/interfaces/kmmviewinterface.h @@ -48,7 +48,7 @@ class KMMViewInterface : public ViewInterface { TQ_OBJECT public: - KMMViewInterface(KMyMoney2App* app, KMyMoneyView* view, TQObject* tqparent, const char* name = 0); + KMMViewInterface(KMyMoney2App* app, KMyMoneyView* view, TQObject* parent, const char* name = 0); ~KMMViewInterface() {} /** diff --git a/kmymoney2/plugins/kmymoneyplugin.cpp b/kmymoney2/plugins/kmymoneyplugin.cpp index d604d19..add4588 100644 --- a/kmymoney2/plugins/kmymoneyplugin.cpp +++ b/kmymoney2/plugins/kmymoneyplugin.cpp @@ -75,17 +75,17 @@ KToggleAction* KMyMoneyPlugin::Plugin::toggleAction(const TQString& actionName) KMyMoneyPlugin::ViewInterface* KMyMoneyPlugin::Plugin::viewInterface() const { - return static_cast<ViewInterface*>( tqparent()->child( 0, "KMyMoneyPlugin::ViewInterface" ) ); + return static_cast<ViewInterface*>( parent()->child( 0, "KMyMoneyPlugin::ViewInterface" ) ); } KMyMoneyPlugin::StatementInterface* KMyMoneyPlugin::Plugin::statementInterface() const { - return static_cast<StatementInterface*>( tqparent()->child( 0, "KMyMoneyPlugin::StatementInterface" ) ); + return static_cast<StatementInterface*>( parent()->child( 0, "KMyMoneyPlugin::StatementInterface" ) ); } KMyMoneyPlugin::ImportInterface* KMyMoneyPlugin::Plugin::importInterface() const { - return static_cast<ImportInterface*>( tqparent()->child( 0, "KMyMoneyPlugin::ImportInterface" ) ); + return static_cast<ImportInterface*>( parent()->child( 0, "KMyMoneyPlugin::ImportInterface" ) ); } #include "kmymoneyplugin.moc" diff --git a/kmymoney2/plugins/kmymoneyplugin.h b/kmymoney2/plugins/kmymoneyplugin.h index f5cdac6..523e578 100644 --- a/kmymoney2/plugins/kmymoneyplugin.h +++ b/kmymoney2/plugins/kmymoneyplugin.h @@ -61,7 +61,7 @@ namespace KMyMoneyPlugin { Q_OBJECT TQ_OBJECT public: - Plugin(TQObject* tqparent, const char* name); + Plugin(TQObject* parent, const char* name); virtual ~Plugin(); protected: diff --git a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp index 9248854..398f369 100644 --- a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp +++ b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp @@ -54,8 +54,8 @@ public: TQFile m_fpTrace; }; -KOfxDirectConnectDlg::KOfxDirectConnectDlg(const MyMoneyAccount& account, TQWidget *tqparent, const char *name) : - KOfxDirectConnectDlgDecl(tqparent, name), +KOfxDirectConnectDlg::KOfxDirectConnectDlg(const MyMoneyAccount& account, TQWidget *parent, const char *name) : + KOfxDirectConnectDlgDecl(parent, name), d(new Private), m_tmpfile(NULL), m_connector(account), diff --git a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h index 4d165ec..b07e191 100644 --- a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h +++ b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h @@ -51,7 +51,7 @@ class KOfxDirectConnectDlg : public KOfxDirectConnectDlgDecl Q_OBJECT TQ_OBJECT public: - KOfxDirectConnectDlg(const MyMoneyAccount&, TQWidget *tqparent = 0, const char *name = 0); + KOfxDirectConnectDlg(const MyMoneyAccount&, TQWidget *parent = 0, const char *name = 0); ~KOfxDirectConnectDlg(); void init(void); diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp index eac5079..6d57e49 100644 --- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp +++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp @@ -58,8 +58,8 @@ public: TQTextStream m_trace; }; -KOnlineBankingSetupWizard::KOnlineBankingSetupWizard(TQWidget *tqparent, const char *name): - KOnlineBankingSetupDecl(tqparent,name), +KOnlineBankingSetupWizard::KOnlineBankingSetupWizard(TQWidget *parent, const char *name): + KOnlineBankingSetupDecl(parent,name), d(new Private), m_fDone(false), m_fInit(false), @@ -429,8 +429,8 @@ bool KOnlineBankingSetupWizard::chosenSettings( MyMoneyKeyValueContainer& settin return result; } -KOnlineBankingSetupWizard::ListViewItem::ListViewItem( TQListView* tqparent, const MyMoneyKeyValueContainer& kvps ): - MyMoneyKeyValueContainer( kvps ), TQListViewItem( tqparent ) +KOnlineBankingSetupWizard::ListViewItem::ListViewItem( TQListView* parent, const MyMoneyKeyValueContainer& kvps ): + MyMoneyKeyValueContainer( kvps ), TQListViewItem( parent ) { setText( 0, value("accountid") ); setText( 1, value("type") ); diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.h b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.h index 4faccbc..35b010c 100644 --- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.h +++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.h @@ -66,11 +66,11 @@ public: class ListViewItem: public MyMoneyKeyValueContainer, public TQListViewItem { public: - ListViewItem( TQListView* tqparent, const MyMoneyKeyValueContainer& kvps ); + ListViewItem( TQListView* parent, const MyMoneyKeyValueContainer& kvps ); virtual void x(void); }; - KOnlineBankingSetupWizard(TQWidget *tqparent=0, const char *name=0); + KOnlineBankingSetupWizard(TQWidget *parent=0, const char *name=0); ~KOnlineBankingSetupWizard(); bool chosenSettings( MyMoneyKeyValueContainer& settings ); diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp index 8ca0aac..d2b9880 100644 --- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp +++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp @@ -48,8 +48,8 @@ #include <libofx/libofx.h> #include "mymoneyofxconnector.h" -KOnlineBankingtqStatus::KOnlineBankingtqStatus(const MyMoneyAccount& acc, TQWidget *tqparent, const char *name) : - KOnlineBankingStatusDecl(tqparent,name), +KOnlineBankingtqStatus::KOnlineBankingtqStatus(const MyMoneyAccount& acc, TQWidget *parent, const char *name) : + KOnlineBankingStatusDecl(parent,name), m_appId(0) { m_ledOnlinetqStatus->off(); diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.h b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.h index 75e3369..52e43ee 100644 --- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.h +++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.h @@ -46,7 +46,7 @@ class KOnlineBankingtqStatus : public KOnlineBankingStatusDecl Q_OBJECT TQ_OBJECT public: - KOnlineBankingtqStatus(const MyMoneyAccount& acc, TQWidget *tqparent=0, const char *name=0); + KOnlineBankingtqStatus(const MyMoneyAccount& acc, TQWidget *parent=0, const char *name=0); ~KOnlineBankingtqStatus(); const TQString& appId(void) const; TQString headerVersion(void) const; diff --git a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp index 82919e0..7755dc8 100644 --- a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp +++ b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp @@ -45,8 +45,8 @@ K_EXPORT_COMPONENT_FACTORY( kmm_ofximport, KGenericFactory<OfxImporterPlugin>( "kmm_ofximport" ) ) -OfxImporterPlugin::OfxImporterPlugin(TQObject *tqparent, const char *name, const TQStringList&) : - KMyMoneyPlugin::Plugin( tqparent, name ), +OfxImporterPlugin::OfxImporterPlugin(TQObject *parent, const char *name, const TQStringList&) : + KMyMoneyPlugin::Plugin( parent, name ), KMyMoneyPlugin::ImporterPlugin(), m_valid( false ) { diff --git a/kmymoney2/plugins/ofximport/ofximporterplugin.h b/kmymoney2/plugins/ofximport/ofximporterplugin.h index 36473d8..2103ccb 100644 --- a/kmymoney2/plugins/ofximport/ofximporterplugin.h +++ b/kmymoney2/plugins/ofximport/ofximporterplugin.h @@ -45,7 +45,7 @@ class OfxImporterPlugin : public KMyMoneyPlugin::Plugin, public KMyMoneyPlugin:: Q_OBJECT TQ_OBJECT public: - OfxImporterPlugin(TQObject *tqparent = 0, const char *name = 0, const TQStringList& = TQStringList()); + OfxImporterPlugin(TQObject *parent = 0, const char *name = 0, const TQStringList& = TQStringList()); ~OfxImporterPlugin(); diff --git a/kmymoney2/plugins/pluginloader.cpp b/kmymoney2/plugins/pluginloader.cpp index c3d479b..5e1dcc6 100644 --- a/kmymoney2/plugins/pluginloader.cpp +++ b/kmymoney2/plugins/pluginloader.cpp @@ -58,14 +58,14 @@ struct PluginLoader::Private PluginsMap m_loadedPlugins; }; -PluginLoader::PluginLoader(TQObject* tqparent) +PluginLoader::PluginLoader(TQObject* parent) { Q_ASSERT( s_instance == 0 ); s_instance = this; d = new Private; - d->m_parent = tqparent; + d->m_parent = parent; KTrader::OfferList offers = KTrader::self()->query("KMyMoneyPlugin"); d->m_pluginList = KPluginInfo::fromServices(offers); diff --git a/kmymoney2/plugins/pluginloader.h b/kmymoney2/plugins/pluginloader.h index 5111948..e6c6aec 100644 --- a/kmymoney2/plugins/pluginloader.h +++ b/kmymoney2/plugins/pluginloader.h @@ -48,7 +48,7 @@ namespace KMyMoneyPlugin Q_OBJECT TQ_OBJECT public: - PluginLoader(TQObject* tqparent); + PluginLoader(TQObject* parent); virtual ~PluginLoader(); static PluginLoader* instance(); diff --git a/kmymoney2/plugins/statementinterface.cpp b/kmymoney2/plugins/statementinterface.cpp index 3dfac42..0fd81ff 100644 --- a/kmymoney2/plugins/statementinterface.cpp +++ b/kmymoney2/plugins/statementinterface.cpp @@ -26,8 +26,8 @@ #include "statementinterface.h" -KMyMoneyPlugin::StatementInterface::StatementInterface(TQObject* tqparent, const char* name) : - TQObject(tqparent, name) +KMyMoneyPlugin::StatementInterface::StatementInterface(TQObject* parent, const char* name) : + TQObject(parent, name) { } diff --git a/kmymoney2/plugins/statementinterface.h b/kmymoney2/plugins/statementinterface.h index 66d533a..7ced222 100644 --- a/kmymoney2/plugins/statementinterface.h +++ b/kmymoney2/plugins/statementinterface.h @@ -48,7 +48,7 @@ class KMYMONEY_EXPORT StatementInterface : public TQObject { TQ_OBJECT public: - StatementInterface(TQObject* tqparent, const char* name = 0); + StatementInterface(TQObject* parent, const char* name = 0); ~StatementInterface() {} /** diff --git a/kmymoney2/plugins/viewinterface.cpp b/kmymoney2/plugins/viewinterface.cpp index 03f0d0b..d1cf119 100644 --- a/kmymoney2/plugins/viewinterface.cpp +++ b/kmymoney2/plugins/viewinterface.cpp @@ -26,8 +26,8 @@ #include "viewinterface.h" -KMyMoneyPlugin::ViewInterface::ViewInterface(TQObject* tqparent, const char* name) : - TQObject(tqparent, name) +KMyMoneyPlugin::ViewInterface::ViewInterface(TQObject* parent, const char* name) : + TQObject(parent, name) { } diff --git a/kmymoney2/plugins/viewinterface.h b/kmymoney2/plugins/viewinterface.h index edec926..620cef1 100644 --- a/kmymoney2/plugins/viewinterface.h +++ b/kmymoney2/plugins/viewinterface.h @@ -58,7 +58,7 @@ class KMYMONEY_EXPORT ViewInterface : public TQObject { TQ_OBJECT public: - ViewInterface(TQObject* tqparent, const char* name = 0); + ViewInterface(TQObject* parent, const char* name = 0); ~ViewInterface() {} /** |