diff options
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(); |