|
|
@ -73,7 +73,7 @@ ExtDateWidget::ExtDateWidget( const ExtDate &date, TQWidget *parent,
|
|
|
|
// void ExtDateWidget::init()
|
|
|
|
// void ExtDateWidget::init()
|
|
|
|
// {
|
|
|
|
// {
|
|
|
|
// d = new ExtDateWidgetPrivate;
|
|
|
|
// d = new ExtDateWidgetPrivate;
|
|
|
|
// KLocale *locale = TDEGlobal::locale();
|
|
|
|
// TDELocale *locale = TDEGlobal::locale();
|
|
|
|
// TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
|
|
|
|
// TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
|
|
|
|
// layout->setAutoAdd(true);
|
|
|
|
// layout->setAutoAdd(true);
|
|
|
|
// d->m_day = new ExtDateWidgetSpinBox(1, 1, this);
|
|
|
|
// d->m_day = new ExtDateWidgetSpinBox(1, 1, this);
|
|
|
@ -97,7 +97,7 @@ ExtDateWidget::ExtDateWidget( const ExtDate &date, TQWidget *parent,
|
|
|
|
void ExtDateWidget::init(const ExtDate& date)
|
|
|
|
void ExtDateWidget::init(const ExtDate& date)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
d = new ExtDateWidgetPrivate;
|
|
|
|
d = new ExtDateWidgetPrivate;
|
|
|
|
//KLocale *locale = TDEGlobal::locale();
|
|
|
|
//TDELocale *locale = TDEGlobal::locale();
|
|
|
|
TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
|
|
|
|
TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
|
|
|
|
layout->setAutoAdd(true);
|
|
|
|
layout->setAutoAdd(true);
|
|
|
|
d->m_day = new ExtDateWidgetSpinBox(1, 1, this);
|
|
|
|
d->m_day = new ExtDateWidgetSpinBox(1, 1, this);
|
|
|
|