[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: calendar_support: kdebase/kcontrol/clock
From: Hans Petter Bieker <bieker () kde ! org>
Date: 2002-12-27 22:25:30
[Download RAW message or body]
CVS commit by bieker:
Branched it and added some comments about KCalendarSystem support.
M +5 -0 dtime.cpp 1.22.4.1
--- kdebase/kcontrol/clock/dtime.cpp #1.22:1.22.4.1
@@ -54,4 +54,5 @@ Dtime::Dtime(QWidget * parent, const cha
month = new QComboBox( FALSE, dateBox, "ComboBox_1" );
connect( month, SIGNAL(activated(int)), SLOT(set_month(int)) );
+ // ### HPB Fixme
month->setSizeLimit( 12 );
l1->addWidget( month, 0, 0 );
@@ -166,5 +167,7 @@ Dtime::Dtime(QWidget * parent, const cha
// *************************************************************
+ // ### HPB Fixme
for (int i=1; i<13; i++)
+ // ### HPB Fixme
month->insertItem(KGlobal::locale()->monthName(i, false /*short*/));
@@ -192,4 +195,5 @@ Dtime::Dtime(QWidget * parent, const cha
void Dtime::set_year(int y)
{
+ // ### HPB Fixme
if ( !date.setYMD(y, date.month(), date.day()) )
date.setYMD(1970,date.month(),date.day());
@@ -219,4 +223,5 @@ void Dtime::changeDate(QDate d)
void Dtime::set_month(int m)
{
+ // ### HPB Fixme
if ( !date.setYMD(date.year(),m+1,date.day()) )
date.setYMD(date.year(),m+1,1);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic