summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-01 00:16:05 +0900
commitd6dc3a3da7d2a03c48ac877797101db18898962d (patch)
tree5c2a665551a149057bb395a0814261e05b25105b
parent49d88f1853b0e3f7676c3d09d68a8c4ae4b2f6dc (diff)
downloadtdesdk-d6dc3a3da7d2a03c48ac877797101db18898962d.tar.gz
tdesdk-d6dc3a3da7d2a03c48ac877797101db18898962d.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 13093726579680e75f444dc8b0711af5b02a2f07)
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.cpp2
-rw-r--r--scheck/scheck.cpp2
-rw-r--r--umbrello/umbrello/umllistview.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp
index d1d8dafd..1be091ff 100644
--- a/kbabel/kbabeldict/kbabeldictbox.cpp
+++ b/kbabel/kbabeldict/kbabeldictbox.cpp
@@ -1609,7 +1609,7 @@ bool KBabelDictBox::eventFilter(TQObject *o, TQEvent *e)
{
if(e->type() == TQEvent::Wheel)
{
- TQWheelEvent *we = TQT_TQWHEELEVENT(e);
+ TQWheelEvent *we = static_cast<TQWheelEvent*>(e);
if(we)
{
wheelEvent(we);
diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp
index e04b89d4..5c5e2579 100644
--- a/scheck/scheck.cpp
+++ b/scheck/scheck.cpp
@@ -2701,7 +2701,7 @@ bool StyleCheckStyle::objectEventHandler( const TQStyleControlElementData &ceDat
if ( event->type() == TQEvent::Paint && object->inherits("TQGroupBox") )
{
- TQPaintEvent * pevent = TQT_TQPAINTEVENT(event);
+ TQPaintEvent * pevent = static_cast<TQPaintEvent*>(event);
TQGroupBox* gb = static_cast<TQGroupBox*>(TQT_TQWIDGET(object));
bool nestedGroupBox = false;
TQString stripped_title = removedXX(stripAccelViolations(gb->title()));
diff --git a/umbrello/umbrello/umllistview.cpp b/umbrello/umbrello/umllistview.cpp
index cf38403c..0a7b1183 100644
--- a/umbrello/umbrello/umllistview.cpp
+++ b/umbrello/umbrello/umllistview.cpp
@@ -144,7 +144,7 @@ UMLListView::~UMLListView() {}
bool UMLListView::eventFilter(TQObject *o, TQEvent *e) {
if (e->type() != TQEvent::MouseButtonPress || !o->isA("TQHeader"))
return TQListView::eventFilter(o, e);
- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *me = static_cast<TQMouseEvent*>(e);
if (me->button() == TQt::RightButton) {
if (m_pMenu) {
m_pMenu->hide();