diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:48:01 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 16:31:28 +0900 |
commit | 829b015f6e55dafa7e4bedc6d456518db51bbe0d (patch) | |
tree | 58807ab2dc35549b3c2d3966c47fc61f1904e5fb /knode | |
parent | fab4aa3bdd0ee1f10a9c91af9a7e054c01df9312 (diff) | |
download | tdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.tar.gz tdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ca120c61e6281a9f8b89be860a7e975b5384bd07)
Diffstat (limited to 'knode')
-rw-r--r-- | knode/kncomposer.cpp | 2 | ||||
-rw-r--r-- | knode/kngroupdialog.cpp | 6 | ||||
-rw-r--r-- | knode/kngroupselectdialog.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/knode/kncomposer.cpp b/knode/kncomposer.cpp index a1d09317b..43b772e50 100644 --- a/knode/kncomposer.cpp +++ b/knode/kncomposer.cpp @@ -2011,7 +2011,7 @@ KNComposer::Editor::~Editor() //----------------------------------------------------------------------------- bool KNComposer::Editor::eventFilter(TQObject*o, TQEvent* e) { - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this)) + if (o == this) KCursor::autoHideEventFilter(o, e); if (e->type() == TQEvent::KeyPress) diff --git a/knode/kngroupdialog.cpp b/knode/kngroupdialog.cpp index 8c9a17467..254000f54 100644 --- a/knode/kngroupdialog.cpp +++ b/knode/kngroupdialog.cpp @@ -177,17 +177,17 @@ void KNGroupDialog::setButtonDirection(arrowButton b, arrowDirection d) void KNGroupDialog::slotItemSelected(TQListViewItem *it) { - const TQObject *s=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); + const TQObject *s=sender(); - if(TQT_BASE_OBJECT_CONST(s)==TQT_BASE_OBJECT(subView)) { + if(s==subView) { unsubView->clearSelection(); groupView->clearSelection(); arrowBtn2->setEnabled(false); arrowBtn1->setEnabled(true); setButtonDirection(btn1, left); } - else if(TQT_BASE_OBJECT_CONST(s)==TQT_BASE_OBJECT(unsubView)) { + else if(s==unsubView) { subView->clearSelection(); groupView->clearSelection(); arrowBtn1->setEnabled(false); diff --git a/knode/kngroupselectdialog.cpp b/knode/kngroupselectdialog.cpp index 3d137b8a1..07f118c88 100644 --- a/knode/kngroupselectdialog.cpp +++ b/knode/kngroupselectdialog.cpp @@ -114,9 +114,9 @@ TQString KNGroupSelectDialog::selectedGroups()const void KNGroupSelectDialog::slotItemSelected(TQListViewItem *it) { - const TQObject *s=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); + const TQObject *s=sender(); - if(TQT_BASE_OBJECT_CONST(s)==TQT_BASE_OBJECT(groupView)) { + if(s==groupView) { selView->clearSelection(); arrowBtn2->setEnabled(false); if(it) |