┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/viewpropsprogressinfo.h
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-02-03 09:25:33 +0100
committerEmmanuel Pescosta <[email protected]>2015-02-03 09:25:33 +0100
commit3515582495f9aa02369a342d73c11079fcdcd654 (patch)
treec7e9a855e137c773b09942ff1a5d7302c562ac14 /src/settings/viewpropsprogressinfo.h
parent122e1c6288b7330ab1eb38cdd7361efb5c092876 (diff)
Ported Dolphin from KDialog to QDialog and save/restoreDialogSize to KWindowConfig::save/restoreWindowSize with the help of the porting scripts.
REVIEW: 122305
Diffstat (limited to 'src/settings/viewpropsprogressinfo.h')
-rw-r--r--src/settings/viewpropsprogressinfo.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/settings/viewpropsprogressinfo.h b/src/settings/viewpropsprogressinfo.h
index 13089b79f..cd7aa50ce 100644
--- a/src/settings/viewpropsprogressinfo.h
+++ b/src/settings/viewpropsprogressinfo.h
@@ -20,7 +20,7 @@
#ifndef VIEWPROPSPROGRESSINFO_H
#define VIEWPROPSPROGRESSINFO_H
-#include <KDialog>
+#include <QDialog>
#include <kio/directorysizejob.h>
#include <QUrl>
@@ -37,7 +37,7 @@ class ViewProperties;
* It is possible to cancel the applying. In this case the already applied
* view properties won't get reverted.
*/
-class ViewPropsProgressInfo : public KDialog
+class ViewPropsProgressInfo : public QDialog
{
Q_OBJECT
@@ -58,10 +58,12 @@ public:
protected:
virtual void closeEvent(QCloseEvent* event) Q_DECL_OVERRIDE;
+public slots:
+ void reject() Q_DECL_OVERRIDE;
+
private slots:
void updateProgress();
void applyViewProperties();
- void cancelApplying();
private:
QUrl m_dir;