summaryrefslogtreecommitdiffstats
path: root/style/qtc_tdestyle.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:19:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 17:31:03 +0900
commit9238a995006bfe94f47cab5eb91370acfeb91cc7 (patch)
tree2bc314a8f397a26c938fe34b1dbcde20c4927517 /style/qtc_tdestyle.cpp
parentf1732e3bd77e0187b018098252625b15e042e33d (diff)
downloadtde-style-qtcurve-9238a995.tar.gz
tde-style-qtcurve-9238a995.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 08147c8aedded5fced6eb4cfe7ba918996d3f481)
Diffstat (limited to 'style/qtc_tdestyle.cpp')
-rw-r--r--style/qtc_tdestyle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/style/qtc_tdestyle.cpp b/style/qtc_tdestyle.cpp
index 548507b..266bb24 100644
--- a/style/qtc_tdestyle.cpp
+++ b/style/qtc_tdestyle.cpp
@@ -126,7 +126,7 @@ void TQtCTDEStyle::polish( TQStyleControlElementData ceData, ControlElementFlags
if ( d->useFilledFrameWorkaround )
{
- if ( TQFrame *frame = ::tqqt_cast< TQFrame* >( widget ) ) {
+ if ( TQFrame *frame = ::tqt_cast< TQFrame* >( widget ) ) {
TQFrame::Shape shape = frame->frameShape();
if (shape == TQFrame::ToolBarPanel || shape == TQFrame::MenuBarPanel)
installObjectEventHandler(ceData, elementFlags, ptr, this);
@@ -143,7 +143,7 @@ void TQtCTDEStyle::unPolish( TQStyleControlElementData ceData, ControlElementFla
if ( d->useFilledFrameWorkaround )
{
- if ( TQFrame *frame = ::tqqt_cast< TQFrame* >( widget ) ) {
+ if ( TQFrame *frame = ::tqt_cast< TQFrame* >( widget ) ) {
TQFrame::Shape shape = frame->frameShape();
if (shape == TQFrame::ToolBarPanel || shape == TQFrame::MenuBarPanel)
removeObjectEventHandler(ceData, elementFlags, ptr, this);
@@ -1696,14 +1696,14 @@ bool TQtCTDEStyle::objectEventHandler( TQStyleControlElementData ceData, Control
// -- Karol.
TQFrame *frame = 0;
if ( event->type() == TQEvent::Paint
- && (frame = ::tqqt_cast<TQFrame*>(object)) )
+ && (frame = ::tqt_cast<TQFrame*>(object)) )
{
if (frame->frameShape() != TQFrame::ToolBarPanel && frame->frameShape() != TQFrame::MenuBarPanel)
return false;
bool horizontal = true;
TQPaintEvent* pe = (TQPaintEvent*)event;
- TQToolBar *toolbar = ::tqqt_cast< TQToolBar *>( frame );
+ TQToolBar *toolbar = ::tqt_cast< TQToolBar *>( frame );
TQRect r = pe->rect();
if (toolbar && toolbar->orientation() == TQt::Vertical)