33 lines
640 B
C++
33 lines
640 B
C++
#include <QApplication>
|
|
#include <QFormLayout>
|
|
#include <QPushButton>
|
|
#include <QVBoxLayout>
|
|
#include <QLineEdit>
|
|
#include <QSpinBox>
|
|
#include <QCheckBox>
|
|
#include <QComboBox>
|
|
#include <QStringList>
|
|
#include <iostream>
|
|
#include <ctime>
|
|
#include <unistd.h>
|
|
#include <kwallet.h>
|
|
|
|
QLineEdit *domainLE;
|
|
QLineEdit *tokenUsername;
|
|
QLineEdit *tokenCode;
|
|
QLineEdit *ntUsername;
|
|
QLineEdit *ntPassword;
|
|
QLineEdit *authSystemLE;
|
|
QCheckBox *rememberCredentials;
|
|
QVBoxLayout *vboxLayout;
|
|
QFormLayout *vdiLoginLayout;
|
|
KWallet::Wallet *wallet;
|
|
|
|
bool debug = false;
|
|
|
|
|
|
|
|
KWallet::Wallet* walletOpen();
|
|
void saveLogin();
|
|
void retrieveLogin();
|
|
void tryLogin(); |