From 54dd512d3980381c2b02263462db03ae7c5a0264 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 29 Jun 2005 21:43:21 +0000 Subject: fixxx --- (limited to 'kaddressbook') diff --git a/kaddressbook/kaimportoldialog.cpp b/kaddressbook/kaimportoldialog.cpp index 7bb8bd8..2f794d6 100644 --- a/kaddressbook/kaimportoldialog.cpp +++ b/kaddressbook/kaimportoldialog.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -218,13 +219,13 @@ void KAImportOLdialog::readContactData( DWORD folder ) LPDISPATCH itm; int i; folderItems = mf.GetItems(); - QProgressBar bar( folderItems.GetCount(),0 ); - bar.setCaption (i18n("Importing - close to abort!") ); + QProgressDialog bar( i18n("Importing contact data"),i18n("Abort"), folderItems.GetCount(),this); + bar.setCaption (i18n("Importing!") ); int h = bar.sizeHint().height() ; int w = 300; int dw = QApplication::desktop()->width(); int dh = QApplication::desktop()->height(); - bar.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); + //bar.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); bar.show(); for(i=1; i <= folderItems.GetCount(); ++i) { -- cgit v0.9.0.2