summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kdatewidgettest.cpp
blob: d58037960b4c34ecaa5d78448b60f7b866ff46e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "kdatewidget.h"
#include <qlineedit.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();
}