equal
deleted
inserted
replaced
44 #ifndef QT_NO_PROGRESSDIALOG |
44 #ifndef QT_NO_PROGRESSDIALOG |
45 |
45 |
46 #include "qshortcut.h" |
46 #include "qshortcut.h" |
47 #include "qpainter.h" |
47 #include "qpainter.h" |
48 #include "qdrawutil.h" |
48 #include "qdrawutil.h" |
49 #include "qdatetime.h" |
|
50 #include "qlabel.h" |
49 #include "qlabel.h" |
51 #include "qprogressbar.h" |
50 #include "qprogressbar.h" |
52 #include "qapplication.h" |
51 #include "qapplication.h" |
53 #include "qstyle.h" |
52 #include "qstyle.h" |
54 #include "qpushbutton.h" |
53 #include "qpushbutton.h" |
55 #include "qcursor.h" |
54 #include "qcursor.h" |
56 #include "qtimer.h" |
55 #include "qtimer.h" |
|
56 #include "qelapsedtimer.h" |
57 #include <private/qdialog_p.h> |
57 #include <private/qdialog_p.h> |
58 #include <limits.h> |
58 #include <limits.h> |
59 |
59 |
60 #if defined(QT_SOFTKEYS_ENABLED) |
60 #if defined(QT_SOFTKEYS_ENABLED) |
61 #include <qaction.h> |
61 #include <qaction.h> |
101 QPushButton *cancel; |
101 QPushButton *cancel; |
102 QProgressBar *bar; |
102 QProgressBar *bar; |
103 QTimer *forceTimer; |
103 QTimer *forceTimer; |
104 bool shown_once; |
104 bool shown_once; |
105 bool cancellation_flag; |
105 bool cancellation_flag; |
106 QTime starttime; |
106 QElapsedTimer starttime; |
107 #ifndef QT_NO_CURSOR |
107 #ifndef QT_NO_CURSOR |
108 QCursor parentCursor; |
108 QCursor parentCursor; |
109 #endif |
109 #endif |
110 int showTime; |
110 int showTime; |
111 bool autoClose; |
111 bool autoClose; |