mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 19:02:48 +00:00
20 lines
430 B
C++
20 lines
430 B
C++
#include "kdatepicker.h"
|
|
#include <QtGui/QLineEdit>
|
|
#include <kcmdlineargs.h>
|
|
#include <kaboutdata.h>
|
|
#include <kapplication.h>
|
|
#include <klocale.h>
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
KAboutData about("KDatePickertest", "kdelibs4", ki18n("KDatePickertest"), "version");
|
|
KCmdLineArgs::init(argc, argv, &about);
|
|
|
|
KApplication app;
|
|
|
|
KDatePicker picker;
|
|
picker.show();
|
|
// picker.setEnabled(false);
|
|
return app.exec();
|
|
}
|
|
|