summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/klineeditdlgtest.cpp
blob: e43085c0cd51570995ecdf0154fa4fdcc0615752 (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())
    {
      qDebug("Accepted.");
    } else {
      qDebug("Rejected.");
    }
  return 0;
}