summaryrefslogtreecommitdiffabout
path: root/kaddressbook
authorzautrix <zautrix>2005-06-29 21:43:21 (UTC)
committer zautrix <zautrix>2005-06-29 21:43:21 (UTC)
commit54dd512d3980381c2b02263462db03ae7c5a0264 (patch) (side-by-side diff)
tree82a31315a85ad5e0a95ef37274fa96f7c4a88dfa /kaddressbook
parent7ccfe9b674bd5cc52eab708c2e7dfb02c3328deb (diff)
downloadkdepimpi-54dd512d3980381c2b02263462db03ae7c5a0264.zip
kdepimpi-54dd512d3980381c2b02263462db03ae7c5a0264.tar.gz
kdepimpi-54dd512d3980381c2b02263462db03ae7c5a0264.tar.bz2
fixxx
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kaimportoldialog.cpp7
1 files changed, 4 insertions, 3 deletions
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 <qpixmap.h>
#include <qlayout.h>
#include <qprogressbar.h>
+#include <qprogressdialog.h>
#include <qwidgetstack.h>
#include <qdatetime.h>
#include <qdir.h>
@@ -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)
{