summaryrefslogtreecommitdiffstats
path: root/src/toplevel.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-11 02:11:24 -0500
committerTimothy Pearson <[email protected]>2012-06-11 02:11:24 -0500
commit99c041312b58b99fe9beb139470598af71cebfae (patch)
tree4829ce7d3248b9723221f0de6785b3e68e612015 /src/toplevel.h
parentbdaebee214fb3f7a9c7f6ab38fc57d4bc5f8cd99 (diff)
downloadkerberostray-99c041312b58b99fe9beb139470598af71cebfae.tar.gz
kerberostray-99c041312b58b99fe9beb139470598af71cebfae.zip
Now somewhat functional
Diffstat (limited to 'src/toplevel.h')
-rw-r--r--src/toplevel.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/toplevel.h b/src/toplevel.h
index 37b75ee..c01c2ad 100644
--- a/src/toplevel.h
+++ b/src/toplevel.h
@@ -32,6 +32,9 @@
#include <knuminput.h>
#include <ksystemtray.h>
#include <tqpixmap.h>
+#include <kdirwatch.h>
+
+#include <libtdeldap.h>
class KAction;
class KDialogBase;
@@ -59,11 +62,29 @@ private slots:
void help();
void setToolTip(const TQString &text, bool force=false);
+ void updateTicketList();
+ void updateMenu();
+ void getNewTGT();
+ void getNewServiceTicket();
+ void getNewTicket(bool requestServiceTicket=false);
+ void destroyAllTickets();
+ void showTicketList();
+ void menuAction(int index);
+
private:
- TQPixmap activeTicketsPixmap, noTicketsPixmap, expiredTicketsPixmap;
+ TQPixmap activeTicketsPixmap;
+ TQPixmap noTicketsPixmap;
+ TQPixmap expiredTicketsPixmap;
+ TQPixmap partiallyExpiredTicketsPixmap;
KAction *confAct;
+ KAction *getNewTGTAct;
+ KAction *getNewSTAct;
+ KAction *destroyAllAct;
TQPopupMenu *menu;
TQString lastTip;
+ KerberosTicketInfoList m_ticketList;
+ TQString m_ticketFile;
+ KDirWatch *ticketWatch;
};
#endif