summaryrefslogtreecommitdiffstats
path: root/src/k3bburnprogressdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/k3bburnprogressdialog.h')
-rw-r--r--src/k3bburnprogressdialog.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/k3bburnprogressdialog.h b/src/k3bburnprogressdialog.h
new file mode 100644
index 0000000..db27ddb
--- /dev/null
+++ b/src/k3bburnprogressdialog.h
@@ -0,0 +1,55 @@
+/*
+ *
+ * $Id: k3bburnprogressdialog.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg@k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg@k3b.org>
+ *
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BBURNPROGRESSDIALOG_H
+#define K3BBURNPROGRESSDIALOG_H
+
+#include <k3bjobprogressdialog.h>
+
+class K3bBurnJob;
+class KProgress;
+class QLabel;
+
+
+/**
+ *@author Sebastian Trueg
+ */
+class K3bBurnProgressDialog : public K3bJobProgressDialog {
+
+ Q_OBJECT
+
+ public:
+ K3bBurnProgressDialog( QWidget* parent = 0, const char* name = 0, bool showSubProgress = true,
+ bool modal = true, WFlags = 0 );
+ ~K3bBurnProgressDialog();
+
+ void setJob( K3bJob* );
+ void setBurnJob( K3bBurnJob* );
+
+ protected slots:
+ void slotWriteSpeed( int, int );
+ void slotBufferStatus( int );
+ void slotDeviceBuffer( int );
+ void slotFinished(bool);
+
+ protected:
+ QLabel* m_labelWriter;
+ KProgress* m_progressWritingBuffer;
+ KProgress* m_progressDeviceBuffer;
+ QLabel* m_labelWritingSpeed;
+};
+
+#endif