diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /src/dialogs/qmessagebox.cpp | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'src/dialogs/qmessagebox.cpp')
-rw-r--r-- | src/dialogs/qmessagebox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp index ce6c505b0..96aabc066 100644 --- a/src/dialogs/qmessagebox.cpp +++ b/src/dialogs/qmessagebox.cpp @@ -1324,7 +1324,7 @@ void TQMessageBox::about( TQWidget *parent, const TQString &caption, if ( pm && !pm->isNull() ) mb->setIconPixmap( *pm ); else { - pm = qApp && qApp->mainWidget() ? qApp->mainWidget()->icon() : 0; + pm = tqApp && tqApp->mainWidget() ? tqApp->mainWidget()->icon() : 0; if ( pm && !pm->isNull() ) mb->setIconPixmap( *pm ); } @@ -1607,8 +1607,8 @@ void TQMessageBox::aboutTQt( TQWidget *parent, const TQString &caption ) #ifndef QT_NO_IMAGEIO TQPixmap pm; TQImage logo( (const char **)qtlogo_xpm); - if ( qGray(mb->palette().active().text().rgb()) > - qGray(mb->palette().active().base().rgb()) ) + if ( tqGray(mb->palette().active().text().rgb()) > + tqGray(mb->palette().active().base().rgb()) ) { // light on dark, adjust some colors (where's 10?) logo.setColor( 0, 0xffffffff ); |