@ -2706,22 +2706,22 @@ void KMMainWidget::setupActions()
if ( parent ( ) - > inherits ( " KMMainWin " ) ) {
if ( parent ( ) - > inherits ( " KMMainWin " ) ) {
act = new KAction ( i18n ( " &Address Book... " ) , " contents " , 0 , TQT_TQOBJECT ( this ) ,
act = new KAction ( i18n ( " &Address Book... " ) , " contents " , 0 , TQT_TQOBJECT ( this ) ,
TQT_SLOT ( slotAddrBook ( ) ) , actionCollection ( ) , " addressbook " ) ;
TQT_SLOT ( slotAddrBook ( ) ) , actionCollection ( ) , " addressbook " ) ;
if ( K StandardDirs: : findExe ( " kaddressbook " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
if ( TDE StandardDirs: : findExe ( " kaddressbook " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
}
}
act = new KAction ( i18n ( " Certificate Manager... " ) , " pgp-keys " , 0 , TQT_TQOBJECT ( this ) ,
act = new KAction ( i18n ( " Certificate Manager... " ) , " pgp-keys " , 0 , TQT_TQOBJECT ( this ) ,
TQT_SLOT ( slotStartCertManager ( ) ) , actionCollection ( ) , " tools_start_certman " ) ;
TQT_SLOT ( slotStartCertManager ( ) ) , actionCollection ( ) , " tools_start_certman " ) ;
// disable action if no certman binary is around
// disable action if no certman binary is around
if ( K StandardDirs: : findExe ( " kleopatra " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
if ( TDE StandardDirs: : findExe ( " kleopatra " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
act = new KAction ( i18n ( " GnuPG Log Viewer... " ) , " pgp-keys " , 0 , TQT_TQOBJECT ( this ) ,
act = new KAction ( i18n ( " GnuPG Log Viewer... " ) , " pgp-keys " , 0 , TQT_TQOBJECT ( this ) ,
TQT_SLOT ( slotStartWatchGnuPG ( ) ) , actionCollection ( ) , " tools_start_kwatchgnupg " ) ;
TQT_SLOT ( slotStartWatchGnuPG ( ) ) , actionCollection ( ) , " tools_start_kwatchgnupg " ) ;
// disable action if no kwatchgnupg binary is around
// disable action if no kwatchgnupg binary is around
if ( K StandardDirs: : findExe ( " kwatchgnupg " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
if ( TDE StandardDirs: : findExe ( " kwatchgnupg " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
act = new KAction ( i18n ( " &Import Messages... " ) , " fileopen " , 0 , TQT_TQOBJECT ( this ) ,
act = new KAction ( i18n ( " &Import Messages... " ) , " fileopen " , 0 , TQT_TQOBJECT ( this ) ,
TQT_SLOT ( slotImport ( ) ) , actionCollection ( ) , " import " ) ;
TQT_SLOT ( slotImport ( ) ) , actionCollection ( ) , " import " ) ;
if ( K StandardDirs: : findExe ( " kmailcvt " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
if ( TDE StandardDirs: : findExe ( " kmailcvt " ) . isEmpty ( ) ) act - > setEnabled ( false ) ;
# if !defined(NDEBUG)
# if !defined(NDEBUG)
( void ) new KAction ( i18n ( " &Debug Sieve... " ) ,
( void ) new KAction ( i18n ( " &Debug Sieve... " ) ,