summaryrefslogtreecommitdiffstats
path: root/knode/kngroupdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 16:31:28 +0900
commit829b015f6e55dafa7e4bedc6d456518db51bbe0d (patch)
tree58807ab2dc35549b3c2d3966c47fc61f1904e5fb /knode/kngroupdialog.cpp
parentfab4aa3bdd0ee1f10a9c91af9a7e054c01df9312 (diff)
downloadtdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.tar.gz
tdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ca120c61e6281a9f8b89be860a7e975b5384bd07)
Diffstat (limited to 'knode/kngroupdialog.cpp')
-rw-r--r--knode/kngroupdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knode/kngroupdialog.cpp b/knode/kngroupdialog.cpp
index 8c9a1746..254000f5 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);