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-11-30 21:31:25 +0900
commit13093726579680e75f444dc8b0711af5b02a2f07 (patch)
tree986ea1883fe829ad30b8bf4710a08cccf1dc14fb
parent30ea27ebf399fff691cefe16c9e16a1809f0fffe (diff)
downloadtdesdk-13093726579680e75f444dc8b0711af5b02a2f07.tar.gz
tdesdk-13093726579680e75f444dc8b0711af5b02a2f07.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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();