See nothing wrong in this? ;)

connect( mNormalIconButton, SIGNAL(iconChanged(QString)),
         this, SLOT(slotChangeIcon(const QString&)) );

svn path=/trunk/kdenetwork/kmail/; revision=198085
wilder-work
David Faure 24 years ago
parent 19722b460e
commit e7eb411ecc
  1. 4
      kmfolderdia.cpp
  2. 2
      kmfolderdia.h

@ -134,7 +134,7 @@ KMFolderDialog::KMFolderDialog(KMFolder *aFolder, KMFolderDir *aFolderDir,
ilabel2, SLOT(setEnabled(bool)) );
connect( mNormalIconButton, SIGNAL(iconChanged(QString)),
this, SLOT(slotChangeIcon(const QString&)) );
this, SLOT(slotChangeIcon(QString)) );
//end icons group
@ -624,7 +624,7 @@ KMFolderDialog::slotUnreadExpiryUnitChanged( int value )
void
KMFolderDialog::slotChangeIcon( const QString& icon )
KMFolderDialog::slotChangeIcon( QString icon ) // can't use a const-ref here, due to KIconButton's signal
{
mUnreadIconButton->setIcon( icon );
}

@ -34,7 +34,7 @@ protected slots:
virtual void slotExpireFolder( bool );
void slotReadExpiryUnitChanged( int );
void slotUnreadExpiryUnitChanged( int );
virtual void slotChangeIcon( const QString& icon );
void slotChangeIcon( QString icon );
/*
* is called if the folder dropdown changes
* then we update the other items to reflect the capabilities

Loading…
Cancel
Save