summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9mp4dlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:32:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:32:19 +0000
commit0d382a262c0638d0f572fc37193ccc5ed3dc895f (patch)
tree8578dcddfce4191f3f7a142a37769df7add48475 /libk9copy/k9mp4dlg.cpp
downloadk9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.tar.gz
k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.zip
Added old abandoned version of k9copy
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1091546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk9copy/k9mp4dlg.cpp')
-rw-r--r--libk9copy/k9mp4dlg.cpp80
1 files changed, 80 insertions, 0 deletions
diff --git a/libk9copy/k9mp4dlg.cpp b/libk9copy/k9mp4dlg.cpp
new file mode 100644
index 0000000..d8b5bda
--- /dev/null
+++ b/libk9copy/k9mp4dlg.cpp
@@ -0,0 +1,80 @@
+//
+// C++ Implementation:
+//
+// Description:
+//
+//
+// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2006
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+
+
+#include "k9mp4dlg.h"
+#include <qlabel.h>
+#include <kprogress.h>
+#include <qpainter.h>
+#include <kstandarddirs.h>
+#include <qlayout.h>
+#include "k9drawimage.h"
+
+
+k9MP4Dlg::k9MP4Dlg(QWidget* parent, const char* name)
+: MP4Dlg(parent,name, true)
+{
+ m_wimage=new k9DrawImage(image,0);
+ QGridLayout *l=new QGridLayout(image,1,1);
+ l->addWidget(m_wimage,0,0);
+ m_timer.start();
+}
+
+k9MP4Dlg::~k9MP4Dlg()
+{
+}
+
+/*$SPECIALIZATION$*/
+
+void k9MP4Dlg::Cancel() {
+ //QDialog::accept();
+ emit sigCancel();
+}
+
+void k9MP4Dlg::setTitleLabel(QString _titleLabel) {
+ lblTitle->setText(_titleLabel);
+}
+
+
+void k9MP4Dlg::setfps(QString _fps) {
+ lblfps->setText(_fps);
+}
+
+void k9MP4Dlg::setremain(QString _remain) {
+ if (m_timer.elapsed() >=1000) {
+ lblRemain->setText(_remain);
+ m_timer.restart();
+ }
+}
+
+void k9MP4Dlg::setProgress(int _progress) {
+ pbProgress->setProgress(_progress);
+
+}
+
+void k9MP4Dlg::setbitrate(QString _bitrate) {
+ lblbitrate->setText(_bitrate);
+}
+
+void k9MP4Dlg::setsize( QString _size) {
+ lblsize->setText(_size);
+}
+
+
+void k9MP4Dlg::setImage(QString _fileName) {
+ m_wimage->setImage(_fileName);
+}
+
+
+
+#include "k9mp4dlg.moc"
+