diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /kopete/plugins/history | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/history')
-rw-r--r-- | kopete/plugins/history/historydialog.cpp | 10 | ||||
-rw-r--r-- | kopete/plugins/history/historydialog.h | 2 | ||||
-rw-r--r-- | kopete/plugins/history/historyguiclient.cpp | 6 | ||||
-rw-r--r-- | kopete/plugins/history/historyguiclient.h | 2 | ||||
-rw-r--r-- | kopete/plugins/history/historylogger.cpp | 8 | ||||
-rw-r--r-- | kopete/plugins/history/historylogger.h | 4 | ||||
-rw-r--r-- | kopete/plugins/history/historyplugin.cpp | 4 | ||||
-rw-r--r-- | kopete/plugins/history/historyplugin.h | 2 | ||||
-rw-r--r-- | kopete/plugins/history/historypreferences.cpp | 4 | ||||
-rw-r--r-- | kopete/plugins/history/historypreferences.h | 2 |
10 files changed, 22 insertions, 22 deletions
diff --git a/kopete/plugins/history/historydialog.cpp b/kopete/plugins/history/historydialog.cpp index e86f08b7..c4f5418f 100644 --- a/kopete/plugins/history/historydialog.cpp +++ b/kopete/plugins/history/historydialog.cpp @@ -60,7 +60,7 @@ class KListViewDateItem : public KListViewItem { public: - KListViewDateItem(KListView* tqparent, TQDate date, Kopete::MetaContact *mc); + KListViewDateItem(KListView* parent, TQDate date, Kopete::MetaContact *mc); TQDate date() { return mDate; } Kopete::MetaContact *metaContact() { return mMetaContact; } @@ -73,8 +73,8 @@ private: -KListViewDateItem::KListViewDateItem(KListView* tqparent, TQDate date, Kopete::MetaContact *mc) - : KListViewItem(tqparent, date.toString(Qt::ISODate), mc->displayName()) +KListViewDateItem::KListViewDateItem(KListView* parent, TQDate date, Kopete::MetaContact *mc) + : KListViewItem(parent, date.toString(Qt::ISODate), mc->displayName()) { mDate = date; mMetaContact = mc; @@ -93,8 +93,8 @@ int KListViewDateItem::compare(TQListViewItem *i, int col, bool ascending) const } -HistoryDialog::HistoryDialog(Kopete::MetaContact *mc, TQWidget* tqparent, - const char* name) : KDialogBase(tqparent, name, false, +HistoryDialog::HistoryDialog(Kopete::MetaContact *mc, TQWidget* parent, + const char* name) : KDialogBase(parent, name, false, i18n("History for %1").tqarg(mc->displayName()), 0), mSearching(false) { TQString fontSize; diff --git a/kopete/plugins/history/historydialog.h b/kopete/plugins/history/historydialog.h index 783bb3a7..a950d384 100644 --- a/kopete/plugins/history/historydialog.h +++ b/kopete/plugins/history/historydialog.h @@ -65,7 +65,7 @@ class HistoryDialog : public KDialogBase TQ_OBJECT public: - HistoryDialog(Kopete::MetaContact *mc, TQWidget* tqparent=0, + HistoryDialog(Kopete::MetaContact *mc, TQWidget* parent=0, const char* name="HistoryDialog"); ~HistoryDialog(); diff --git a/kopete/plugins/history/historyguiclient.cpp b/kopete/plugins/history/historyguiclient.cpp index 57dfdc1c..b8608ac9 100644 --- a/kopete/plugins/history/historyguiclient.cpp +++ b/kopete/plugins/history/historyguiclient.cpp @@ -27,12 +27,12 @@ class HistoryPlugin; -HistoryGUIClient::HistoryGUIClient(Kopete::ChatSession *tqparent, const char *name) - : TQObject(tqparent, name), KXMLGUIClient(tqparent) +HistoryGUIClient::HistoryGUIClient(Kopete::ChatSession *parent, const char *name) + : TQObject(parent, name), KXMLGUIClient(parent) { setInstance(KGenericFactory<HistoryPlugin>::instance()); - m_manager = tqparent; + m_manager = parent; // Refuse to build this client, it is based on wrong parameters if(!m_manager || m_manager->members().isEmpty()) diff --git a/kopete/plugins/history/historyguiclient.h b/kopete/plugins/history/historyguiclient.h index b48595fc..3c09eaf4 100644 --- a/kopete/plugins/history/historyguiclient.h +++ b/kopete/plugins/history/historyguiclient.h @@ -31,7 +31,7 @@ class HistoryGUIClient : public TQObject , public KXMLGUIClient Q_OBJECT TQ_OBJECT public: - HistoryGUIClient(Kopete::ChatSession *tqparent = 0, const char *name = 0); + HistoryGUIClient(Kopete::ChatSession *parent = 0, const char *name = 0); ~HistoryGUIClient(); HistoryLogger *logger() const { return m_logger; } diff --git a/kopete/plugins/history/historylogger.cpp b/kopete/plugins/history/historylogger.cpp index 063ba73d..02bc1b2f 100644 --- a/kopete/plugins/history/historylogger.cpp +++ b/kopete/plugins/history/historylogger.cpp @@ -37,8 +37,8 @@ #include "kopetechatsession.h" // ----------------------------------------------------------------------------- -HistoryLogger::HistoryLogger( Kopete::MetaContact *m, TQObject *tqparent, const char *name ) - : TQObject(tqparent, name) +HistoryLogger::HistoryLogger( Kopete::MetaContact *m, TQObject *parent, const char *name ) + : TQObject(parent, name) { m_saveTimer=0L; m_saveTimerTime=0; @@ -55,8 +55,8 @@ HistoryLogger::HistoryLogger( Kopete::MetaContact *m, TQObject *tqparent, const } -HistoryLogger::HistoryLogger( Kopete::Contact *c, TQObject *tqparent, const char *name ) - : TQObject(tqparent, name) +HistoryLogger::HistoryLogger( Kopete::Contact *c, TQObject *parent, const char *name ) + : TQObject(parent, name) { m_saveTimer=0L; m_saveTimerTime=0; diff --git a/kopete/plugins/history/historylogger.h b/kopete/plugins/history/historylogger.h index 6d01754d..1d7fae61 100644 --- a/kopete/plugins/history/historylogger.h +++ b/kopete/plugins/history/historylogger.h @@ -47,8 +47,8 @@ public: /** * Constructor, takes the contact, and the color of messages */ - HistoryLogger( Kopete::MetaContact *m , TQObject *tqparent = 0, const char *name = 0); - HistoryLogger( Kopete::Contact *c , TQObject *tqparent = 0, const char *name = 0); + HistoryLogger( Kopete::MetaContact *m , TQObject *parent = 0, const char *name = 0); + HistoryLogger( Kopete::Contact *c , TQObject *parent = 0, const char *name = 0); ~HistoryLogger(); diff --git a/kopete/plugins/history/historyplugin.cpp b/kopete/plugins/history/historyplugin.cpp index 3c83c371..f1401c85 100644 --- a/kopete/plugins/history/historyplugin.cpp +++ b/kopete/plugins/history/historyplugin.cpp @@ -41,8 +41,8 @@ typedef KGenericFactory<HistoryPlugin> HistoryPluginFactory; static const KAboutData aboutdata("kopete_history", I18N_NOOP("History") , "1.0" ); K_EXPORT_COMPONENT_FACTORY( kopete_history, HistoryPluginFactory( &aboutdata ) ) -HistoryPlugin::HistoryPlugin( TQObject *tqparent, const char *name, const TQStringList & /* args */ ) -: Kopete::Plugin( HistoryPluginFactory::instance(), tqparent, name ), m_loggerFactory( this ) +HistoryPlugin::HistoryPlugin( TQObject *parent, const char *name, const TQStringList & /* args */ ) +: Kopete::Plugin( HistoryPluginFactory::instance(), parent, name ), m_loggerFactory( this ) { KAction *viewMetaContactHistory = new KAction( i18n("View &History" ), TQString::tqfromLatin1( "history" ), 0, this, TQT_SLOT(slotViewHistory()), diff --git a/kopete/plugins/history/historyplugin.h b/kopete/plugins/history/historyplugin.h index 560d09b5..e80ce26b 100644 --- a/kopete/plugins/history/historyplugin.h +++ b/kopete/plugins/history/historyplugin.h @@ -76,7 +76,7 @@ class HistoryPlugin : public Kopete::Plugin Q_OBJECT TQ_OBJECT public: - HistoryPlugin( TQObject *tqparent, const char *name, const TQStringList &args ); + HistoryPlugin( TQObject *parent, const char *name, const TQStringList &args ); ~HistoryPlugin(); /** diff --git a/kopete/plugins/history/historypreferences.cpp b/kopete/plugins/history/historypreferences.cpp index 959f9653..370e6721 100644 --- a/kopete/plugins/history/historypreferences.cpp +++ b/kopete/plugins/history/historypreferences.cpp @@ -29,8 +29,8 @@ typedef KGenericFactory<HistoryPreferences> HistoryConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kopete_history, HistoryConfigFactory( "kcm_kopete_history" ) ) -HistoryPreferences::HistoryPreferences(TQWidget *tqparent, const char*/*name*/, const TQStringList &args) - : KCModule(HistoryConfigFactory::instance(), tqparent, args) +HistoryPreferences::HistoryPreferences(TQWidget *parent, const char*/*name*/, const TQStringList &args) + : KCModule(HistoryConfigFactory::instance(), parent, args) { kdDebug(14310) << k_funcinfo << "called." << endl; (new TQVBoxLayout(this))->setAutoAdd(true); diff --git a/kopete/plugins/history/historypreferences.h b/kopete/plugins/history/historypreferences.h index 848580b2..61339290 100644 --- a/kopete/plugins/history/historypreferences.h +++ b/kopete/plugins/history/historypreferences.h @@ -31,7 +31,7 @@ class HistoryPreferences : public KCModule Q_OBJECT TQ_OBJECT public: - HistoryPreferences(TQWidget *tqparent=0, const char* name=0, + HistoryPreferences(TQWidget *parent=0, const char* name=0, const TQStringList &args = TQStringList()); ~HistoryPreferences(); |