summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-01 00:14:33 +0900
commitdd931b3ea9ab2bb3effe05d1533f57fd8d7e01ca (patch)
treed8e08433e02631259733ac5bac7426aca3bdad31
parentb4887167404390a15f8ba25da1ae0348e27b2699 (diff)
downloadtdewebdev-dd931b3ea9ab2bb3effe05d1533f57fd8d7e01ca.tar.gz
tdewebdev-dd931b3ea9ab2bb3effe05d1533f57fd8d7e01ca.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d72f4843816818bdb27e7faae86e68d51d624267)
-rw-r--r--klinkstatus/src/ui/klshistorycombo.cpp2
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp2
-rw-r--r--quanta/parts/kafka/kafkahtmlpart.cpp2
-rw-r--r--quanta/treeviews/tagattributetree.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/klinkstatus/src/ui/klshistorycombo.cpp b/klinkstatus/src/ui/klshistorycombo.cpp
index 68da2720..cdcf1a59 100644
--- a/klinkstatus/src/ui/klshistorycombo.cpp
+++ b/klinkstatus/src/ui/klshistorycombo.cpp
@@ -84,7 +84,7 @@ bool KLSHistoryCombo::eventFilter( TQObject *o, TQEvent *ev )
int type = ev->type();
if ( type == TQEvent::KeyPress )
{
- TQKeyEvent *e = TQT_TQKEYEVENT( ev );
+ TQKeyEvent *e = static_cast<TQKeyEvent*>( ev );
if ( e->key() == Key_Return || e->key() == Key_Enter )
{
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp
index 998eeea6..7a47b5a3 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdidockcontainer.cpp
@@ -300,7 +300,7 @@ bool KMdiDockContainer::eventFilter( TQObject *obj, TQEvent *event )
TQPoint p( ( ( TQMouseEvent* ) event )->pos() - m_startEvent->pos() );
if ( p.manhattanLength() > TDEGlobalSettings::dndEventDelay() )
{
- m_dockManager->eventFilter( m_dragPanel, TQT_TQEVENT(m_startEvent) );
+ m_dockManager->eventFilter( m_dragPanel, m_startEvent );
m_dockManager->eventFilter( m_dragPanel, event );
m_movingState = Moving;
}
diff --git a/quanta/parts/kafka/kafkahtmlpart.cpp b/quanta/parts/kafka/kafkahtmlpart.cpp
index 1d633e98..89c17f20 100644
--- a/quanta/parts/kafka/kafkahtmlpart.cpp
+++ b/quanta/parts/kafka/kafkahtmlpart.cpp
@@ -508,7 +508,7 @@ bool KafkaWidget::eventFilter(TQObject *, TQEvent *event)
if(event->type() == TQEvent::KeyPress || event->type() == TQEvent::IMEnd)
{
- TQKeyEvent *keyevent = TQT_TQKEYEVENT(event);
+ TQKeyEvent *keyevent = static_cast<TQKeyEvent*>(event);
//Create a new NodeModifsSet where the changes will be logged.
m_modifs = new NodeModifsSet();
diff --git a/quanta/treeviews/tagattributetree.cpp b/quanta/treeviews/tagattributetree.cpp
index 26d676d2..335fafc6 100644
--- a/quanta/treeviews/tagattributetree.cpp
+++ b/quanta/treeviews/tagattributetree.cpp
@@ -128,7 +128,7 @@ bool DualEditableTree::eventFilter(TQObject *object, TQEvent *event)
if(event->type() == TQEvent::KeyPress && m_editable)
{
- TQKeyEvent *keyevent = TQT_TQKEYEVENT(event);
+ TQKeyEvent *keyevent = static_cast<TQKeyEvent*>(event);
switch(keyevent->key())
{
case Key_Left: