@ -63,7 +63,7 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE
{
{
setBackgroundMode ( X11ParentRelative ) ; // what for?
setBackgroundMode ( X11ParentRelative ) ; // what for?
K Config * config = kapp - > config ( ) ;
TDE Config * config = kapp - > config ( ) ;
config - > setGroup ( " Kerberos " ) ;
config - > setGroup ( " Kerberos " ) ;
getNewTGTAct = new KAction ( i18n ( " &Obtain New Ticket Granting Ticket " ) , " add_user " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( getNewTGT ( ) ) , actionCollection ( ) , " getnewtgt " ) ;
getNewTGTAct = new KAction ( i18n ( " &Obtain New Ticket Granting Ticket " ) , " add_user " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( getNewTGT ( ) ) , actionCollection ( ) , " getnewtgt " ) ;
@ -100,7 +100,7 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE
/* (not currently needed)
/* (not currently needed)
void TopLevel : : queryExit ( )
void TopLevel : : queryExit ( )
{
{
K Config * config = kapp - > config ( ) ;
TDE Config * config = kapp - > config ( ) ;
// config->sync();
// config->sync();
}
}
*/
*/
@ -117,7 +117,7 @@ TopLevel::~TopLevel()
}
}
void TopLevel : : load ( ) {
void TopLevel : : load ( ) {
K Config* config = TDEGlobal : : instance ( ) - > config ( ) ;
TDE Config* config = TDEGlobal : : instance ( ) - > config ( ) ;
config - > setGroup ( NULL ) ;
config - > setGroup ( NULL ) ;
autostart = config - > readBoolEntry ( " Autostart " , true ) ;
autostart = config - > readBoolEntry ( " Autostart " , true ) ;
notifyExpiry = config - > readBoolEntry ( " notifyExpiry " , true ) ;
notifyExpiry = config - > readBoolEntry ( " notifyExpiry " , true ) ;
@ -125,7 +125,7 @@ void TopLevel::load() {
}
}
void TopLevel : : save ( ) {
void TopLevel : : save ( ) {
K Config* config = TDEGlobal : : instance ( ) - > config ( ) ;
TDE Config* config = TDEGlobal : : instance ( ) - > config ( ) ;
config - > setGroup ( NULL ) ;
config - > setGroup ( NULL ) ;
config - > writeEntry ( " Autostart " , autostart ) ;
config - > writeEntry ( " Autostart " , autostart ) ;
config - > writeEntry ( " notifyExpiry " , notifyExpiry ) ;
config - > writeEntry ( " notifyExpiry " , notifyExpiry ) ;