summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history/historydialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 14:31:57 +0900
commit418e8f7a6f6d79b2cbc9d83b29ef53d01582f826 (patch)
tree569fb6200e0735a269bd3355b5dce7e5636a1efa /kopete/plugins/history/historydialog.cpp
parent7cf631be8afe93a3a2988ce589861537582f161d (diff)
downloadtdenetwork-418e8f7a6f6d79b2cbc9d83b29ef53d01582f826.tar.gz
tdenetwork-418e8f7a6f6d79b2cbc9d83b29ef53d01582f826.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/plugins/history/historydialog.cpp')
-rw-r--r--kopete/plugins/history/historydialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/plugins/history/historydialog.cpp b/kopete/plugins/history/historydialog.cpp
index 7a4e1795..01bff360 100644
--- a/kopete/plugins/history/historydialog.cpp
+++ b/kopete/plugins/history/historydialog.cpp
@@ -174,8 +174,8 @@ HistoryDialog::HistoryDialog(Kopete::MetaContact *mc, TQWidget* parent,
//initActions
TDEActionCollection* ac = new TDEActionCollection(this);
- mCopyAct = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT(slotCopy()), ac );
- mCopyURLAct = new TDEAction( i18n( "Copy Link Address" ), TQString::fromLatin1( "edit-copy" ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotCopyURL() ), ac );
+ mCopyAct = KStdAction::copy( this, TQT_SLOT(slotCopy()), ac );
+ mCopyURLAct = new TDEAction( i18n( "Copy Link Address" ), TQString::fromLatin1( "edit-copy" ), 0, this, TQT_SLOT( slotCopyURL() ), ac );
resize(650, 700);
centerOnScreen(this);
@@ -196,7 +196,7 @@ void HistoryDialog::init()
{
if(mMetaContact)
{
- HistoryLogger logger(mMetaContact, TQT_TQOBJECT(this));
+ HistoryLogger logger(mMetaContact, this);
init(mMetaContact);
}
else
@@ -204,7 +204,7 @@ void HistoryDialog::init()
TQPtrListIterator<Kopete::MetaContact> it(mMetaContactList);
for(; it.current(); ++it)
{
- HistoryLogger logger(*it, TQT_TQOBJECT(this));
+ HistoryLogger logger(*it, this);
init(*it);
}
@@ -226,7 +226,7 @@ void HistoryDialog::slotLoadDays()
DMPair pair(mInit.dateMCList.first());
mInit.dateMCList.pop_front();
- HistoryLogger logger(pair.metaContact(), TQT_TQOBJECT(this));
+ HistoryLogger logger(pair.metaContact(), this);
TQValueList<int> dayList = logger.getDaysForMonth(pair.date());
for (unsigned int i=0; i<dayList.count(); i++)
{
@@ -325,7 +325,7 @@ void HistoryDialog::dateSelected(TQListViewItem* it)
TQDate chosenDate = item->date();
- HistoryLogger logger(item->metaContact(), TQT_TQOBJECT(this));
+ HistoryLogger logger(item->metaContact(), this);
TQValueList<Kopete::Message> msgs=logger.readMessages(chosenDate);
setMessages(msgs);