summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 17:45:23 +0900
commit9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7 (patch)
tree656280d10f1f0acceacc67bf6544ae4d19812642 /tdecore
parent4c9f3f02c0e1a9be5567649f5c97d6638033f74f (diff)
downloadtdelibs-9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7.tar.gz
tdelibs-9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 138bb80efac020c7e78871d3f05127eb37f18274)
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdeapplication.cpp4
-rw-r--r--tdecore/twin.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp
index 069155850..de4ab2afc 100644
--- a/tdecore/tdeapplication.cpp
+++ b/tdecore/tdeapplication.cpp
@@ -567,7 +567,7 @@ bool TDEApplication::notify(TQObject *receiver, TQEvent *event)
if ((t == TQEvent::AccelOverride) || (t == TQEvent::KeyPress))
{
static const TDEShortcut& _selectAll = TDEStdAccel::selectAll();
- TQLineEdit *edit = ::tqqt_cast<TQLineEdit *>(receiver);
+ TQLineEdit *edit = ::tqt_cast<TQLineEdit *>(receiver);
if (edit)
{
// We have a keypress for a lineedit...
@@ -605,7 +605,7 @@ bool TDEApplication::notify(TQObject *receiver, TQEvent *event)
}
}
- TQTextEdit *medit = ::tqqt_cast<TQTextEdit *>(receiver);
+ TQTextEdit *medit = ::tqt_cast<TQTextEdit *>(receiver);
if (medit)
{
// We have a keypress for a multilineedit...
diff --git a/tdecore/twin.cpp b/tdecore/twin.cpp
index 7b59ef7d4..fc6358351 100644
--- a/tdecore/twin.cpp
+++ b/tdecore/twin.cpp
@@ -310,7 +310,7 @@ void KWin::setMainWindow( TQWidget* subwindow, WId mainwindow )
/*
Grmbl. See TQDialog::show(). That should get fixed in Qt somehow.
*/
- if( tqqt_cast< TQDialog* >( subwindow ) != NULL
+ if( tqt_cast< TQDialog* >( subwindow ) != NULL
&& subwindow->parentWidget() == NULL
&& kapp->mainWidget() != NULL )
{