summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-10-06 08:41:05 (UTC)
committer zautrix <zautrix>2004-10-06 08:41:05 (UTC)
commit641d3327a51405f7ed995bb5c58d0207de7b5ca2 (patch) (unidiff)
tree97526f04afd9d3df6244a64bb2e7f91a1c72d6ae
parent8e5089d2f2011e38d811ae0fc6b6d4edaeaf89b8 (diff)
downloadkdepimpi-641d3327a51405f7ed995bb5c58d0207de7b5ca2.zip
kdepimpi-641d3327a51405f7ed995bb5c58d0207de7b5ca2.tar.gz
kdepimpi-641d3327a51405f7ed995bb5c58d0207de7b5ca2.tar.bz2
fixes in export phone dialog
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp17
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
@@ -81,4 +81,5 @@ class KOex2phonePrefs : public QDialog
81 lay->setMargin( 3 ); 81 lay->setMargin( 3 );
82 82 QLabel *lab;
83 lay->addWidget(new QLabel( i18n("Please read phone sync howto to\nknow more about the connection settings."), this ) ); 83 lay->addWidget(lab = new QLabel( i18n("Please read Help-Sync Howto\nto know what settings to use."), this ) );
84 lab->setAlignment (AlignHCenter );
84 QHBox* temphb; 85 QHBox* temphb;
@@ -103,4 +104,6 @@ class KOex2phonePrefs : public QDialog
103 mWriteBackFutureWeeks->setValue( 8 ); 104 mWriteBackFutureWeeks->setValue( 8 );
104 lay->addWidget( temphb ); 105 lay->addWidget( temphb );
105 QPushButton * ok = new QPushButton( i18n("Export!"), this ); 106 lay->addWidget(lab = new QLabel( i18n("NOTE: This will remove all old\n todo/calendar data on phone!"), this ) );
107 lab->setAlignment (AlignHCenter );
108 QPushButton * ok = new QPushButton( i18n("Export to mobile phone!"), this );
106 lay->addWidget( ok ); 109 lay->addWidget( ok );
@@ -110,3 +113,3 @@ class KOex2phonePrefs : public QDialog
110 connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) ); 113 connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) );
111 resize( 220, 220 ); 114 resize( 220, 240 );
112 115
@@ -1159,2 +1162,6 @@ void MainWindow::exportToPhone( int mode )
1159 ex2phone.mPhoneModel->setText( KOPrefs::instance()->mEx2PhoneModel ); 1162 ex2phone.mPhoneModel->setText( KOPrefs::instance()->mEx2PhoneModel );
1163 if ( mode == 1 )
1164 ex2phone.setCaption(i18n("Export complete calendar"));
1165 if ( mode == 2 )
1166 ex2phone.setCaption(i18n("Export filtered calendar"));
1160 1167