summaryrefslogtreecommitdiffstats
path: root/knode
diff options
context:
space:
mode:
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)