-rw-r--r-- | korganizer/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 472a978..13e186d 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1280,49 +1280,49 @@ void MainWindow::initActions() | |||
1280 | configureToolBarMenu->setItemChecked( 400, true ); | 1280 | configureToolBarMenu->setItemChecked( 400, true ); |
1281 | if (!p-> mShowIconStretch) { | 1281 | if (!p-> mShowIconStretch) { |
1282 | QLabel* dummy = new QLabel( iconToolBar ); | 1282 | QLabel* dummy = new QLabel( iconToolBar ); |
1283 | dummy->setBackgroundColor( iconToolBar->backgroundColor() ); | 1283 | dummy->setBackgroundColor( iconToolBar->backgroundColor() ); |
1284 | dummy->setMinimumWidth( 0 ); | 1284 | dummy->setMinimumWidth( 0 ); |
1285 | iconToolBar->setStretchableWidget ( dummy ) ; | 1285 | iconToolBar->setStretchableWidget ( dummy ) ; |
1286 | } | 1286 | } |
1287 | else { | 1287 | else { |
1288 | iconToolBar->setHorizontalStretchable (true ); | 1288 | iconToolBar->setHorizontalStretchable (true ); |
1289 | viewToolBar->setHorizontalStretchable (true ); | 1289 | viewToolBar->setHorizontalStretchable (true ); |
1290 | navigatorToolBar->setHorizontalStretchable (true ); | 1290 | navigatorToolBar->setHorizontalStretchable (true ); |
1291 | iconToolBar->setVerticalStretchable (true ); | 1291 | iconToolBar->setVerticalStretchable (true ); |
1292 | viewToolBar->setVerticalStretchable (true ); | 1292 | viewToolBar->setVerticalStretchable (true ); |
1293 | navigatorToolBar->setVerticalStretchable (true ); | 1293 | navigatorToolBar->setVerticalStretchable (true ); |
1294 | configureToolBarMenu->setItemChecked( 5, true ); | 1294 | configureToolBarMenu->setItemChecked( 5, true ); |
1295 | } | 1295 | } |
1296 | if (p-> mShowIconFilter) | 1296 | if (p-> mShowIconFilter) |
1297 | configureToolBarMenu->setItemChecked( 7, true ); | 1297 | configureToolBarMenu->setItemChecked( 7, true ); |
1298 | if (p-> mShowIconOnetoolbar) | 1298 | if (p-> mShowIconOnetoolbar) |
1299 | configureToolBarMenu->setItemChecked( 6, true ); | 1299 | configureToolBarMenu->setItemChecked( 6, true ); |
1300 | 1300 | ||
1301 | 1301 | ||
1302 | if ( filterMenubar ) { | 1302 | if ( filterMenubar ) { |
1303 | filterMenubar->reparent(filterToolBar,0,QPoint(0,0) ); | 1303 | filterMenubar->reparent(filterToolBar,0,QPoint(0,0) ); |
1304 | connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) ); | 1304 | connect( mView, SIGNAL( filtersUpdated() ), SLOT( updateFilterToolbar() ) ); |
1305 | } | 1305 | } |
1306 | connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); | 1306 | connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); |
1307 | configureAgenda( p->mHourSize ); | 1307 | configureAgenda( p->mHourSize ); |
1308 | connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); | 1308 | connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); |
1309 | } | 1309 | } |
1310 | 1310 | ||
1311 | void MainWindow::exportToPhone( int mode ) | 1311 | void MainWindow::exportToPhone( int mode ) |
1312 | { | 1312 | { |
1313 | 1313 | ||
1314 | //ex2phone->insertItem(i18n("Complete calendar..."), 1 ); | 1314 | //ex2phone->insertItem(i18n("Complete calendar..."), 1 ); |
1315 | //ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); | 1315 | //ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); |
1316 | KOex2phonePrefs ex2phone; | 1316 | KOex2phonePrefs ex2phone; |
1317 | 1317 | ||
1318 | ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection ); | 1318 | ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection ); |
1319 | ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice ); | 1319 | ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice ); |
1320 | ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel ); | 1320 | ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel ); |
1321 | if ( mode == 1 ) | 1321 | if ( mode == 1 ) |
1322 | ex2phone.setCaption(i18n("Export complete calendar")); | 1322 | ex2phone.setCaption(i18n("Export complete calendar")); |
1323 | if ( mode == 2 ) | 1323 | if ( mode == 2 ) |
1324 | ex2phone.setCaption(i18n("Export filtered calendar")); | 1324 | ex2phone.setCaption(i18n("Export filtered calendar")); |
1325 | 1325 | ||
1326 | if ( !ex2phone.exec() ) { | 1326 | if ( !ex2phone.exec() ) { |
1327 | return; | 1327 | return; |
1328 | } | 1328 | } |