Logo Search packages:      
Sourcecode: kdenetwork version File versions

void KopeteAway::save (  )  [private]

Saves the away messages to disk.

This function will save the current list of away messages to the disk using KConfig. It is called automatically.

Definition at line 210 of file kopeteaway.cpp.

References messagesChanged().

Referenced by addMessage(), and getMessage().

      KConfig *config = KGlobal::config();
      /* Set the away message settings in the Away Messages config group */
      config->setGroup("Away Messages");
      config->writeEntry("Messages", d->awayMessageList);

      emit( messagesChanged() );

Generated by  Doxygen 1.6.0   Back to index