///////////////////////////////////////////////////////////////////////////////
// Simple x264 Launcher
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2016 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
bool resumeJob(const QModelIndex &index);
bool abortJob(const QModelIndex &index);
bool deleteJob(const QModelIndex &index);
+ bool moveJob(const QModelIndex &index, const int &direction);
LogFileModel *getLogFile(const QModelIndex &index);
const QString &getJobSourceFile(const QModelIndex &index);
const QString &getJobOutputFile(const QModelIndex &index);
const OptionsModel *getJobOptions(const QModelIndex &index);
QModelIndex getJobIndexById(const QUuid &id);
+ size_t saveQueuedJobs(void);
+ size_t loadQueuedJobs(const SysinfoModel *sysinfo);
+ void clearQueuedJobs(void);
+
+ typedef enum
+ {
+ MOVE_UP = +1,
+ MOVE_DOWN = -1
+ }
+ move_t;
+
protected:
QList<QUuid> m_jobs;
QMap<QUuid, QString> m_name;