add: object->setAlternateKeyFormat( args->isSet( "alternate-key-format" ) );
context: int main( int argc, char **argv ){  KApplication::disableAutoDcopRegistration();  KCmdLineArgs::init( argc, argv, appName, programName, description, version );  KCmdLineArgs::addCmdLineOptions( k2moptions );  KApplication app( false, false );  KCmdLineArgs *args = KCmdLineArgs::parsedArgs();  KABC2Mutt *object = new KABC2Mutt( 0 );  // Handle --format option  object->setFormat( (args->getOption("format") == "query") ? KABC2Mutt::Query : KABC2Mutt::Aliases );  // Handle --all-addresses option  object->setAllAddresses( args->isSet( "all-addresses" ) );  // Handle --query option  const QString subString = QString::fromLocal8Bit( args->getOption( "query" ) );  if ( !subString.isEmpty() ) {    // Mutt wants a first line with some status message on it    // See http://mutt.org/doc/manual/manual-4.html#ss4.5    std::cout << i18n( "Searching KDE addressbook" ).latin1() << std::endl;  }  object->setQuery( subString );  // Handle --ignore-case option  object->setIgnoreCase( !args->isSet( "ignore-case" ) );  object->run();  return app.exec();}