blob: 2c9dc5248e4af3145ba617e59061a286890ed8bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <kapplication.h>
#include <klineeditdlg.h>
#include <qstring.h>
#include <qtextview.h>
int main(int argc, char** argv)
{
KApplication app(argc, argv, "klineedittest");
KLineEditDlg dialog( "_text", "_value", 0L );
if(dialog.exec())
{
qDebug("Accepted.");
} else {
qDebug("Rejected.");
}
return 0;
}
|