diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:25:15 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 22:37:32 +0900 |
| commit | 14a3eec294baa06d09960a6f0a4824d3468ebd57 (patch) | |
| tree | f97590092975720f252cd5e0c3361c510f7cde33 /style/qtcurve.cpp | |
| parent | 8decfa983df4edc12df9e5b40e2addf0ffdb96b5 (diff) | |
| download | tde-style-qtcurve-14a3eec2.tar.gz tde-style-qtcurve-14a3eec2.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e0b2927979dbe910a5c68732558bdd14b199426c)
Diffstat (limited to 'style/qtcurve.cpp')
| -rw-r--r-- | style/qtcurve.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp index 0cb0a66..c7f3c05 100644 --- a/style/qtcurve.cpp +++ b/style/qtcurve.cpp @@ -2368,7 +2368,7 @@ bool QtCurveStyle::objectEventHandler( const TQStyleControlElementData &ceData, if(isWindowDragWidget(object, mev->pos())) { - if(/*TQt::NoModifier==mev->modifiers() && */ Qt::LeftButton==mev->button()) + if(/*TQt::NoModifier==mev->modifiers() && */ TQt::LeftButton==mev->button()) { TQWidget *wid = TQT_TQWIDGET(object); itsDragWidget=wid; @@ -5281,12 +5281,12 @@ void QtCurveStyle::drawControl(ControlElement control, TQPainter *p, const TQSty TQPixmap *pixmap(mi->pixmap()); if(1==pixmap->depth()) - p->setBackgroundMode(Qt::OpaqueMode); + p->setBackgroundMode(TQt::OpaqueMode); int diffw(((r.width() - pixmap->width())/2) + ((r.width() - pixmap->width())%2)); p->drawPixmap(r.x()+diffw, r.y()+1, *pixmap ); if(1==pixmap->depth()) - p->setBackgroundMode(Qt::TransparentMode); + p->setBackgroundMode(TQt::TransparentMode); } if(mi->popup()) @@ -5787,7 +5787,7 @@ void QtCurveStyle::drawComplexControl(ComplexControl control, TQPainter *p, cons { if(TBTN_JOINED==opts.tbarBtns) { - horizTBar=Qt::Horizontal==tb->orientation(); + horizTBar=TQt::Horizontal==tb->orientation(); adjustToolbarButtons(widget, tb, leftAdjust, topAdjust, rightAdjust, bottomAdjust, round); } } |
