diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
commit | 0d382a262c0638d0f572fc37193ccc5ed3dc895f (patch) | |
tree | 8578dcddfce4191f3f7a142a37769df7add48475 /k9author/k9avifile.h | |
download | k9copy-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 'k9author/k9avifile.h')
-rw-r--r-- | k9author/k9avifile.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/k9author/k9avifile.h b/k9author/k9avifile.h new file mode 100644 index 0000000..83a6f17 --- /dev/null +++ b/k9author/k9avifile.h @@ -0,0 +1,80 @@ +// +// C++ Interface: k9avifile +// +// Description: +// +// +// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2007 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef K9AVIFILE_H +#define K9AVIFILE_H + +#include <qobject.h> +#include <qdatetime.h> +#include <qimage.h> + +/** + @author Jean-Michel PETIT <k9copy@free.fr> +*/ +class k9Title; +class k9AviFile : public QObject +{ +Q_OBJECT +public: + k9AviFile(k9Title *parent = 0, const char *name = 0); + + ~k9AviFile(); + + void setFileName ( const QString& _value ); + QString getFileName() const; + + void setStart ( const QTime& _value ); + QTime getStart() const; + + void setEnd ( const QTime& _value ); + QTime getEnd() const; + + void setLabel ( const QString& _value ); + QString getLabel() const; + + k9Title* getTitle() const; + + int getNum() const; + + void setPrevious ( k9AviFile* _value ); + k9AviFile* getPrevious() const; + + void setNext ( k9AviFile* _value ); + k9AviFile* getNext() const; + + void setBreakPrevious(bool _state); + bool getBreakPrevious(); + + void setBreakNext(bool _state); + bool getBreakNext(); + + void setImage(const QImage& _value); + QImage getImage() const; + + +private: + QString m_fileName; + QTime m_start; + QString m_label; + QTime m_end; + k9Title *m_title; + QImage m_image; + int m_num; + bool m_breakNext,m_breakPrevious; + k9AviFile *m_previous; + k9AviFile *m_next; + void setTitle ( k9Title* _value ); +signals: + void aviFileUpdated(k9AviFile *_aviFile); + void imageChanged(const QImage &); +}; + +#endif |