author | leseb <leseb> | 2002-06-05 19:04:52 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-05 19:04:52 (UTC) |
commit | 7e61a0450682589c5ec5a8009df3b6ec36dbb5a0 (patch) (side-by-side diff) | |
tree | 7888efc836878563834513a94af13969f1edc433 | |
parent | 91398d550495cb82445457b59e472a58ad0a296a (diff) | |
download | opie-7e61a0450682589c5ec5a8009df3b6ec36dbb5a0.zip opie-7e61a0450682589c5ec5a8009df3b6ec36dbb5a0.tar.gz opie-7e61a0450682589c5ec5a8009df3b6ec36dbb5a0.tar.bz2 |
Correction of bug #394
-rw-r--r-- | library/datebookmonth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/datebookmonth.cpp b/library/datebookmonth.cpp index b2074e6..f4b3e6b 100644 --- a/library/datebookmonth.cpp +++ b/library/datebookmonth.cpp @@ -33,49 +33,49 @@ #include <qpopupmenu.h> DateBookMonthHeader::DateBookMonthHeader( QWidget *parent, const char *name ) : QHBox( parent, name ) { setBackgroundMode( PaletteButton ); begin = new QToolButton( this ); begin->setFocusPolicy(NoFocus); begin->setPixmap( Resource::loadPixmap( "start" ) ); begin->setAutoRaise( TRUE ); begin->setFixedSize( begin->sizeHint() ); back = new QToolButton( this ); back->setFocusPolicy(NoFocus); back->setPixmap( Resource::loadPixmap( "back" ) ); back->setAutoRaise( TRUE ); back->setFixedSize( back->sizeHint() ); month = new QComboBox( FALSE, this ); for ( int i = 0; i < 12; ++i ) month->insertItem( Calendar::nameOfMonth( i + 1 ) ); - year = new QSpinBox( 1970, 2037, 1, this ); + year = new QSpinBox( 1752, 8000, 1, this ); next = new QToolButton( this ); next->setFocusPolicy(NoFocus); next->setPixmap( Resource::loadPixmap( "forward" ) ); next->setAutoRaise( TRUE ); next->setFixedSize( next->sizeHint() ); end = new QToolButton( this ); end->setFocusPolicy(NoFocus); end->setPixmap( Resource::loadPixmap( "finish" ) ); end->setAutoRaise( TRUE ); end->setFixedSize( end->sizeHint() ); connect( month, SIGNAL( activated( int ) ), this, SLOT( updateDate() ) ); connect( year, SIGNAL( valueChanged( int ) ), this, SLOT( updateDate() ) ); connect( begin, SIGNAL( clicked() ), this, SLOT( firstMonth() ) ); connect( end, SIGNAL( clicked() ), this, SLOT( lastMonth() ) ); connect( back, SIGNAL( clicked() ), this, SLOT( monthBack() ) ); connect( next, SIGNAL( clicked() ), |