diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 625904bd3097f9749450428904ca14ff2531824d (patch) | |
tree | a45c43d5de71cb720078fa1272a4339815a919be /ksim/monitors/mail | |
parent | 6335dc55802871b5a43492f217b6edbb420204c4 (diff) | |
download | tdeutils-625904bd3097f9749450428904ca14ff2531824d.tar.gz tdeutils-625904bd3097f9749450428904ca14ff2531824d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/monitors/mail')
-rw-r--r-- | ksim/monitors/mail/ksimmail.cpp | 20 | ||||
-rw-r--r-- | ksim/monitors/mail/ksimmail.h | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/ksim/monitors/mail/ksimmail.cpp b/ksim/monitors/mail/ksimmail.cpp index 260ad8e..f6cbe4a 100644 --- a/ksim/monitors/mail/ksimmail.cpp +++ b/ksim/monitors/mail/ksimmail.cpp @@ -66,8 +66,8 @@ void MailPlugin::showAbout() KAboutApplication( &about ).exec(); } -MailView::MailView( KSim::PluginObject* tqparent, const char* name ) - : KSim::PluginView( tqparent, name ) +MailView::MailView( KSim::PluginObject* parent, const char* name ) + : KSim::PluginView( parent, name ) { TQVBoxLayout* tqlayout = new TQVBoxLayout( this ); @@ -87,8 +87,8 @@ void MailView::updateDisplay() { } -MailLabel::MailLabel( TQWidget* tqparent ) - : KSim::Label( KSim::Types::Mail, tqparent ) +MailLabel::MailLabel( TQWidget* parent ) + : KSim::Label( KSim::Types::Mail, parent ) { // label->setPixmap( KSim::ThemeLoader::self().current().krellMail() ); configureObject( false ); @@ -131,17 +131,17 @@ TQPixmap MailLabel::frame( const TQPixmap& source, int number ) const { TQPixmap result( source.width(), source.height() / m_frames ); bitBlt( &result, 0, 0, &source, 0, number * source.height() / m_frames ); - if ( source.tqmask() ) + if ( source.mask() ) { - TQBitmap tqmask( result.size() ); - bitBlt( &tqmask, 0, 0, source.tqmask(), 0, number * source.height() / m_frames ); - result.setMask( tqmask ); + TQBitmap mask( result.size() ); + bitBlt( &mask, 0, 0, source.mask(), 0, number * source.height() / m_frames ); + result.setMask( mask ); } return result; } -MailConfig::MailConfig( KSim::PluginObject* tqparent, const char* name ) - : KSim::PluginPage( tqparent, name ) +MailConfig::MailConfig( KSim::PluginObject* parent, const char* name ) + : KSim::PluginPage( parent, name ) { } diff --git a/ksim/monitors/mail/ksimmail.h b/ksim/monitors/mail/ksimmail.h index 776d574..3ecb647 100644 --- a/ksim/monitors/mail/ksimmail.h +++ b/ksim/monitors/mail/ksimmail.h @@ -41,7 +41,7 @@ class MailView : public KSim::PluginView Q_OBJECT TQ_OBJECT public: - MailView( KSim::PluginObject* tqparent, const char* name ); + MailView( KSim::PluginObject* parent, const char* name ); ~MailView(); virtual void reparseConfig(); @@ -55,7 +55,7 @@ class MailLabel : public KSim::Label Q_OBJECT TQ_OBJECT public: - MailLabel( TQWidget* tqparent ); + MailLabel( TQWidget* parent ); virtual ~MailLabel(); virtual void configureObject( bool ); @@ -81,7 +81,7 @@ class MailConfig : public KSim::PluginPage Q_OBJECT TQ_OBJECT public: - MailConfig( KSim::PluginObject* tqparent, const char* name ); + MailConfig( KSim::PluginObject* parent, const char* name ); ~MailConfig(); virtual void saveConfig(); |