diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-09 16:42:04 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-09 16:42:04 -0500 |
commit | 33875614a6eddef3a881601a00ea0427e6c55003 (patch) | |
tree | 4f1a1231de7a0b867ba3b6e402a29ffea55aad9b /src/styles | |
parent | 6df11f9b12f7d5b8f52c8f6b52faa8fdac13ddfa (diff) | |
download | tqt3-33875614a6eddef3a881601a00ea0427e6c55003.tar.gz tqt3-33875614a6eddef3a881601a00ea0427e6c55003.zip |
Automated update from Qt3
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/qcommonstyle.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp index 7162c4c0d..dafef39a2 100644 --- a/src/styles/qcommonstyle.cpp +++ b/src/styles/qcommonstyle.cpp @@ -556,6 +556,18 @@ TQStyleControlElementData populateControlElementDataFromWidget(const TQWidget* w return ceData; } +TQStyleControlElementData populateControlElementDataFromApplication(const TQApplication* app, const TQStyleOption&, bool) { + TQStyleControlElementData ceData; + + if (app) { + ceData.widgetObjectTypes = getObjectTypeListForObject(app); + ceData.palette = app->palette(); + ceData.font = app->font(); + } + + return ceData; +} + /*! \reimp */ void TQCommonStyle::drawPrimitive( PrimitiveElement pe, TQPainter *p, |