Cleanup whitespace

pull/1/head
Timothy Pearson 13 years ago
parent 7e68dd0cf1
commit a3ec3102db

@ -38,15 +38,15 @@ int main(int argc, char *argv[])
"(c) 2012, Timothy Pearson"); "(c) 2012, Timothy Pearson");
aboutData.addAuthor("Timothy Pearson",0, "kb9vqf@pearsoncomputing.net"); aboutData.addAuthor("Timothy Pearson",0, "kb9vqf@pearsoncomputing.net");
KCmdLineArgs::init( argc, argv, &aboutData ); KCmdLineArgs::init( argc, argv, &aboutData );
KApplication app; KApplication app;
TopLevel toplevel; TopLevel toplevel;
KWin::setSystemTrayWindowFor(toplevel.winId(), 0); KWin::setSystemTrayWindowFor(toplevel.winId(), 0);
toplevel.show(); toplevel.show();
app.setTopWidget(&toplevel); app.setTopWidget(&toplevel);
KStartupInfo::appStarted(); KStartupInfo::appStarted();
return app.exec(); return app.exec();
} }

@ -196,7 +196,7 @@ void TopLevel::updateMenu() {
for (it = m_ticketList.begin(); it != m_ticketList.end(); ++it) { for (it = m_ticketList.begin(); it != m_ticketList.end(); ++it) {
KerberosTicketInfo ticket = *it; KerberosTicketInfo ticket = *it;
TQDateTime now = TQDateTime::currentDateTime(); TQDateTime now = TQDateTime::currentDateTime();
TQString label = ticket.serverPrincipal; TQString label = ticket.serverPrincipal;
if (ticket.validEndTime > now) { if (ticket.validEndTime > now) {
label = label + i18n("(Active)"); label = label + i18n("(Active)");
@ -355,7 +355,7 @@ void TopLevel::paintEvent(TQPaintEvent *) {
} }
void TopLevel::timerEvent(TQTimerEvent *) { void TopLevel::timerEvent(TQTimerEvent *) {
// //
} }
/** update ToolTip */ /** update ToolTip */
@ -419,7 +419,7 @@ void TopLevel::menuAction(int index) {
listText += addTicketInfo("", ticket); listText += addTicketInfo("", ticket);
listText += "</qt>"; listText += "</qt>";
if (KMessageBox::warningYesNo(this, listText, i18n("Kerberos Ticket Information"), TQString("Destroy this Ticket"), TQString("Cancel")) == KMessageBox::Yes) { if (KMessageBox::warningYesNo(this, listText, i18n("Kerberos Ticket Information"), TQString("Destroy this Ticket"), TQString("Cancel")) == KMessageBox::Yes) {
TQString errorstring; TQString errorstring;
if (LDAPManager::destroyKerberosTicket(ticket.serverPrincipal, &errorstring) != 0) { if (LDAPManager::destroyKerberosTicket(ticket.serverPrincipal, &errorstring) != 0) {

Loading…
Cancel
Save