blob: 7db673bb1dfc872490dfa6a22c1db31e47aa61d2 (
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 <tqstring.h>
#include <tqtextview.h>
int main(int argc, char** argv)
{
KApplication app(argc, argv, "klineedittest");
KLineEditDlg dialog( "_text", "_value", 0L );
if(dialog.exec())
{
tqDebug("Accepted.");
} else {
tqDebug("Rejected.");
}
return 0;
}
|