Rename a number of classes to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent f4acdaa446
commit fb3e288d46

@ -66,18 +66,18 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE
TDEConfig *config = kapp->config(); TDEConfig *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 TDEAction(i18n("&Obtain New Ticket Granting Ticket"), "add_user", 0, TQT_TQOBJECT(this), TQT_SLOT(getNewTGT()), actionCollection(), "getnewtgt");
getNewSTAct = new KAction(i18n("&Obtain New Primary Service Ticket"), "add_user", 0, TQT_TQOBJECT(this), TQT_SLOT(getNewServiceTicket()), actionCollection(), "getnewserviceticket"); getNewSTAct = new TDEAction(i18n("&Obtain New Primary Service Ticket"), "add_user", 0, TQT_TQOBJECT(this), TQT_SLOT(getNewServiceTicket()), actionCollection(), "getnewserviceticket");
getNewStandardSTAct = new KAction(i18n("&Obtain Authenticated Service Ticket"), "add_user", 0, TQT_TQOBJECT(this), TQT_SLOT(getNewServiceTicketWithExistingCreds()), actionCollection(), "getstandardserviceticket"); getNewStandardSTAct = new TDEAction(i18n("&Obtain Authenticated Service Ticket"), "add_user", 0, TQT_TQOBJECT(this), TQT_SLOT(getNewServiceTicketWithExistingCreds()), actionCollection(), "getstandardserviceticket");
destroyAllAct = new KAction(i18n("&Destroy All Tickets"), "delete_user", 0, TQT_TQOBJECT(this), TQT_SLOT(destroyAllTickets()), actionCollection(), "destroyall"); destroyAllAct = new TDEAction(i18n("&Destroy All Tickets"), "delete_user", 0, TQT_TQOBJECT(this), TQT_SLOT(destroyAllTickets()), actionCollection(), "destroyall");
confAct = new KAction(i18n("&Configure..."), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT(config()), actionCollection(), "configure"); confAct = new TDEAction(i18n("&Configure..."), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT(config()), actionCollection(), "configure");
// create app menu (displayed on right-click) // create app menu (displayed on right-click)
menu = new TQPopupMenu(); menu = new TQPopupMenu();
connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuAction(int))); connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuAction(int)));
KHelpMenu* help = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false); KHelpMenu* help = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false);
KPopupMenu* helpMnu = help->menu(); TDEPopupMenu* helpMnu = help->menu();
menu->insertSeparator(); menu->insertSeparator();
getNewTGTAct->plug(menu); getNewTGTAct->plug(menu);

@ -36,7 +36,7 @@
#include <libtdeldap.h> #include <libtdeldap.h>
class KAction; class TDEAction;
class KDialogBase; class KDialogBase;
class TQCheckBox; class TQCheckBox;
class TimeEdit; class TimeEdit;
@ -81,11 +81,11 @@ private:
TQPixmap partiallyExpiredTicketsPixmap; TQPixmap partiallyExpiredTicketsPixmap;
TQPixmap timerOverlayPixmap; TQPixmap timerOverlayPixmap;
TQPixmap warningOverlayPixmap; TQPixmap warningOverlayPixmap;
KAction *confAct; TDEAction *confAct;
KAction *getNewTGTAct; TDEAction *getNewTGTAct;
KAction *getNewSTAct; TDEAction *getNewSTAct;
KAction *getNewStandardSTAct; TDEAction *getNewStandardSTAct;
KAction *destroyAllAct; TDEAction *destroyAllAct;
TQPopupMenu *menu; TQPopupMenu *menu;
TQString lastTip; TQString lastTip;
KerberosTicketInfoList m_ticketList; KerberosTicketInfoList m_ticketList;

Loading…
Cancel
Save