summaryrefslogtreecommitdiffstats
path: root/knode
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:48:01 +0900
committerMichele Calgaro <[email protected]>2023-08-18 12:11:32 +0900
commitca120c61e6281a9f8b89be860a7e975b5384bd07 (patch)
treea904f22a6811c51d7b9f5e50ee53a1ebe4fed04b /knode
parentddf896e8d22004797d141e221455cbdaa45b3f80 (diff)
downloadtdepim-ca120c61e6281a9f8b89be860a7e975b5384bd07.tar.gz
tdepim-ca120c61e6281a9f8b89be860a7e975b5384bd07.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'knode')
-rw-r--r--knode/kncomposer.cpp2
-rw-r--r--knode/kngroupdialog.cpp6
-rw-r--r--knode/kngroupselectdialog.cpp4
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 fc3353c01..19bbad34f 100644
--- a/knode/kngroupdialog.cpp
+++ b/knode/kngroupdialog.cpp
@@ -176,17 +176,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)