X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/ced7cbd022b68c8dedd61b5d34d27b9c1296df15..1e27cae3e58f0be65ea6c690f9144b0621829d2b:/src/viewpropsprogressinfo.h diff --git a/src/viewpropsprogressinfo.h b/src/viewpropsprogressinfo.h index ac591e6bc..d07d16d67 100644 --- a/src/viewpropsprogressinfo.h +++ b/src/viewpropsprogressinfo.h @@ -15,17 +15,16 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ #ifndef VIEWPROPSPROGRESSINFO_H #define VIEWPROPSPROGRESSINFO_H #include #include +#include class ApplyViewPropsJob; -class KJob; -class KUrl; class QLabel; class QProgressBar; class QTimer; @@ -52,18 +51,21 @@ public: */ ViewPropsProgressInfo(QWidget* parent, const KUrl& dir, - const ViewProperties* viewProps); + const ViewProperties& viewProps); virtual ~ViewPropsProgressInfo(); +protected: + virtual void closeEvent(QCloseEvent* event); + private slots: void updateProgress(); void applyViewProperties(); void cancelApplying(); private: - const KUrl& m_dir; - const ViewProperties* m_viewProps; + KUrl m_dir; + ViewProperties* m_viewProps; QLabel* m_label; QProgressBar* m_progressBar;