Single page launcher using Qt to launch VMWare Horizon, and store login details to KWallet.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
640 B

#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();