blob: 607572aa4d02327bba940dc4e576b52114ede6bc [file] [log] [blame] [raw]
#include "askpassdialog.h"
#include <QtGui/QApplication>
#include <stdio.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
AskPassDialog w;
w.setWindowTitle("QAskPass");
if(!w.exec()) return 1;
QByteArray pw = w.password().toLocal8Bit();
puts(pw.data());
return 0;
}