summaryrefslogtreecommitdiffstats
path: root/kopete/kopete
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:47:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-17 14:53:20 +0900
commit6148e60759606fe8c1d7037956a38b9a4427e8b2 (patch)
treed37ae6133be1967a9aaa8d97150b6e9a2d706085 /kopete/kopete
parent214a5ef176c1b0f20402da9ddf018052f3b89fa5 (diff)
downloadtdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.tar.gz
tdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/kopete')
-rw-r--r--kopete/kopete/contactlist/kopetecontactlistview.cpp2
-rw-r--r--kopete/kopete/kopetewindow.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/kopete/kopete/contactlist/kopetecontactlistview.cpp b/kopete/kopete/contactlist/kopetecontactlistview.cpp
index 53fad813..9678aa5a 100644
--- a/kopete/kopete/contactlist/kopetecontactlistview.cpp
+++ b/kopete/kopete/contactlist/kopetecontactlistview.cpp
@@ -1676,7 +1676,7 @@ void KopeteContactListView::slotAddContact()
Kopete::ContactList::self()->selectedMetaContacts().first();
Kopete::Group *group =
Kopete::ContactList::self()->selectedGroups().first();
- Kopete::Account *account = dynamic_cast<Kopete::Account*>( TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->parent() );
+ Kopete::Account *account = dynamic_cast<Kopete::Account*>( sender()->parent() );
if ( ( metacontact && metacontact->isTemporary() ) ||
(group && group->type()!=Kopete::Group::Normal ) )
diff --git a/kopete/kopete/kopetewindow.cpp b/kopete/kopete/kopetewindow.cpp
index a3983acb..f1e0e1fd 100644
--- a/kopete/kopete/kopetewindow.cpp
+++ b/kopete/kopete/kopetewindow.cpp
@@ -968,8 +968,7 @@ void KopeteWindow::setStatusMessage( const TQString & message )
void KopeteWindow::slotBuildStatusMessageMenu()
{
- TQObject * senderObj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>( sender() ));
- m_globalStatusMessageMenu = static_cast<TDEPopupMenu *>( TQT_TQWIDGET(senderObj) );
+ m_globalStatusMessageMenu = static_cast<TDEPopupMenu *>( const_cast<TQObject*>(sender()) );
m_globalStatusMessageMenu->clear();
// pop up a menu containing the away messages, and a lineedit
// see kopeteaway