summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:19:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:19:03 +0900
commitca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d (patch)
tree87ee723e3cd7728117a5839a94101f5499b42623 /lib
parentb05a12a13d0f6d1eabdc6c32fe629f4c3c89d236 (diff)
downloadkoffice-ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d.tar.gz
koffice-ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib')
-rw-r--r--lib/kofficeui/KoGuides.cpp2
-rw-r--r--lib/koproperty/editoritem.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/KoGuides.cpp b/lib/kofficeui/KoGuides.cpp
index ffea16c3..95fcddbf 100644
--- a/lib/kofficeui/KoGuides.cpp
+++ b/lib/kofficeui/KoGuides.cpp
@@ -235,7 +235,7 @@ bool KoGuides::mouseReleaseEvent( TQMouseEvent *e )
if ( m_guideLines[GL_SELECTED].count() == 1 )
{
int x1, y1, x2, y2;
- TQT_TQRECT_OBJECT(m_view->canvas()->rect()).coords( &x1, &y1, &x2, &y2 );
+ m_view->canvas()->rect().coords( &x1, &y1, &x2, &y2 );
TQPoint gp( m_view->canvas()->mapFromGlobal( e->globalPos() ) );
if ( m_guideLines[GL_SELECTED].first()->orientation == Qt::Vertical )
{
diff --git a/lib/koproperty/editoritem.cpp b/lib/koproperty/editoritem.cpp
index 2fd9c18d..d71bcac2 100644
--- a/lib/koproperty/editoritem.cpp
+++ b/lib/koproperty/editoritem.cpp
@@ -239,7 +239,7 @@ void GroupContainer::setContents( TQWidget* contents )
bool GroupContainer::event( TQEvent * e ) {
if (e->type()==TQEvent::MouseButtonPress) {
TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
- if (me->button() == Qt::LeftButton && d->contents && TQT_TQRECT_OBJECT(d->groupWidget->rect()).contains(me->pos())) {
+ if (me->button() == Qt::LeftButton && d->contents && d->groupWidget->rect().contains(me->pos())) {
d->groupWidget->setOpen(!d->groupWidget->isOpen());
if (d->groupWidget->isOpen())
d->contents->show();