summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kdatewidgettest.cpp
blob: 8550ab36355be75c53be051e0010cb844ec0da25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "kdatewidget.h"
#include <tqlineedit.h>
#include <kapplication.h>
#include <klocale.h>

int main(int argc, char** argv)
{
  KLocale::setMainCatalogue("kdelibs");
  KApplication app(argc, argv, "KDateWidgettest");
  KDateWidget dateWidget;
  app.setMainWidget(&dateWidget);
  dateWidget.show();
  // dateWidget.setEnabled(false);
  return app.exec();
}