OSDN Git Service

Bump version.
[lamexp/LameXP.git] / src / Dialog_WorkingBanner.h
index 99ff8f6..4f54f00 100644 (file)
@@ -1,12 +1,12 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2020 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
+// it under the terms of the GNU GENERAL PUBLIC LICENSE as published by
 // the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version, but always including the *additional*
-// restrictions defined in the "License.txt" file.
+// (at your option) any later version; always including the non-optional
+// LAMEXP GNU GENERAL PUBLIC LICENSE ADDENDUM. See "License.txt" file!
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -29,6 +29,11 @@ namespace Ui
        class WorkingBanner;
 }
 
+namespace MUtils
+{
+       class Taskbar7;
+}
+
 class QEventLoop;
 
 ////////////////////////////////////////////////////////////
@@ -50,7 +55,9 @@ public:
 private:
        Ui::WorkingBanner *const ui;
 
-       QMovie *m_working;
+       QScopedPointer<MUtils::Taskbar7> m_taskbar;
+       QScopedPointer<QMovie> m_working;
+
        bool m_canClose;
 
 public slots:
@@ -67,9 +74,9 @@ protected:
        virtual void keyPressEvent(QKeyEvent *event);
        virtual void keyReleaseEvent(QKeyEvent *event);
        virtual void closeEvent(QCloseEvent *event);
-       virtual bool winEvent(MSG *message, long *result);
        virtual void showEvent(QShowEvent *event);
+       virtual void hideEvent(QHideEvent *event);
 
-       QFontMetrics *m_metrics;
-       QStyle *m_style;
+       QScopedPointer<QFontMetrics> m_metrics;
+       QScopedPointer<QStyle> m_style;
 };