diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 19:19:26 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 19:19:26 -0500 |
commit | 07b6965cbac26077a27faf4071487d9a25fb3aa0 (patch) | |
tree | 8c5910ccfcab2269f7948dbd74a83048cd99d2ac /experimental/tqtinterface/qt4/src/styles/tqmotifstyle.cpp | |
parent | 1c210202b89d0161f34432bc74157a278670f4dc (diff) | |
download | tde-07b6965cbac26077a27faf4071487d9a25fb3aa0.tar.gz tde-07b6965cbac26077a27faf4071487d9a25fb3aa0.zip |
Revert "Rename tqsize* to size*"
This reverts commit e33879600503bacc0b4ef090f7f79ab80bb6b0da.
Diffstat (limited to 'experimental/tqtinterface/qt4/src/styles/tqmotifstyle.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/styles/tqmotifstyle.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/experimental/tqtinterface/qt4/src/styles/tqmotifstyle.cpp b/experimental/tqtinterface/qt4/src/styles/tqmotifstyle.cpp index 62edca778..257c0ad81 100644 --- a/experimental/tqtinterface/qt4/src/styles/tqmotifstyle.cpp +++ b/experimental/tqtinterface/qt4/src/styles/tqmotifstyle.cpp @@ -1730,7 +1730,7 @@ TQRect TQMotifStyle::querySubControlMetrics( TQ_ComplexControl control, /*!\reimp */ -TQSize TQMotifStyle::sizeFromContents( ContentsType contents, +TQSize TQMotifStyle::tqsizeFromContents( ContentsType contents, const TQWidget *widget, const TQSize &contentsSize, const TQStyleOption& opt ) const @@ -1742,7 +1742,7 @@ TQSize TQMotifStyle::sizeFromContents( ContentsType contents, { #ifndef TQT_NO_PUSHBUTTON const TQPushButton *button = (const TQPushButton *) widget; - sz = TQCommonStyle::sizeFromContents(contents, widget, contentsSize, opt); + sz = TQCommonStyle::tqsizeFromContents(contents, widget, contentsSize, opt); if ((button->isDefault() || button->autoDefault()) && sz.width() < 80 && ! button->pixmap()) sz.setWidth(80); @@ -1763,8 +1763,8 @@ TQSize TQMotifStyle::sizeFromContents( ContentsType contents, int w = sz.width(), h = sz.height(); if (mi->custom()) { - w = mi->custom()->sizeHint().width(); - h = mi->custom()->sizeHint().height(); + w = mi->custom()->tqsizeHint().width(); + h = mi->custom()->tqsizeHint().height(); if (! mi->custom()->fullSpan()) h += 2*motifItemVMargin + 2*motifItemFrame; } else if ( mi->widget() ) { @@ -1802,7 +1802,7 @@ TQSize TQMotifStyle::sizeFromContents( ContentsType contents, } default: - sz = TQCommonStyle::sizeFromContents( contents, widget, contentsSize, opt ); + sz = TQCommonStyle::tqsizeFromContents( contents, widget, contentsSize, opt ); break; } |