-rw-r--r-- | korganizer/mainwindow.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index ef73a78..6a9a2f1 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -80,6 +80,7 @@ class KOex2phonePrefs : public QDialog lay->setSpacing( 3 ); lay->setMargin( 3 ); - - lay->addWidget(new QLabel( i18n("Please read phone sync howto to\nknow more about the connection settings."), this ) ); + QLabel *lab; + lay->addWidget(lab = new QLabel( i18n("Please read Help-Sync Howto\nto know what settings to use."), this ) ); + lab->setAlignment (AlignHCenter ); QHBox* temphb; temphb = new QHBox( this ); @@ -102,6 +103,8 @@ class KOex2phonePrefs : public QDialog mWriteBackFutureWeeks= new QSpinBox(1,104, 1, temphb); mWriteBackFutureWeeks->setValue( 8 ); - lay->addWidget( temphb ); - QPushButton * ok = new QPushButton( i18n("Export!"), this ); + lay->addWidget( temphb ); + lay->addWidget(lab = new QLabel( i18n("NOTE: This will remove all old\n todo/calendar data on phone!"), this ) ); + lab->setAlignment (AlignHCenter ); + QPushButton * ok = new QPushButton( i18n("Export to mobile phone!"), this ); lay->addWidget( ok ); QPushButton * cancel = new QPushButton( i18n("Cancel"), this ); @@ -109,5 +112,5 @@ class KOex2phonePrefs : public QDialog connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) ); connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) ); - resize( 220, 220 ); + resize( 220, 240 ); } @@ -1158,4 +1161,8 @@ void MainWindow::exportToPhone( int mode ) ex2phone.mPhoneDevice->setText( KOPrefs::instance()->mEx2PhoneDevice ); ex2phone.mPhoneModel->setText( KOPrefs::instance()->mEx2PhoneModel ); + if ( mode == 1 ) + ex2phone.setCaption(i18n("Export complete calendar")); + if ( mode == 2 ) + ex2phone.setCaption(i18n("Export filtered calendar")); if ( !ex2phone.exec() ) { |