diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:31:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:47:48 +0900 |
commit | d72f4843816818bdb27e7faae86e68d51d624267 (patch) | |
tree | 58aa8d1c8fd1287f318efb28abb341d136e24091 /quanta | |
parent | 9f67f75a70919376d8cd380ac1c076c25c4e7ec8 (diff) | |
download | tdewebdev-d72f4843816818bdb27e7faae86e68d51d624267.tar.gz tdewebdev-d72f4843816818bdb27e7faae86e68d51d624267.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'quanta')
-rw-r--r-- | quanta/parts/kafka/kafkahtmlpart.cpp | 2 | ||||
-rw-r--r-- | quanta/treeviews/tagattributetree.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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: |