summaryrefslogtreecommitdiff
path: root/plugins-alternative/Themes/Clean/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-alternative/Themes/Clean/interface.h')
-rw-r--r--plugins-alternative/Themes/Clean/interface.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/plugins-alternative/Themes/Clean/interface.h b/plugins-alternative/Themes/Clean/interface.h
index 9f4332a..b7ab57f 100644
--- a/plugins-alternative/Themes/Clean/interface.h
+++ b/plugins-alternative/Themes/Clean/interface.h
@@ -53,6 +53,7 @@ public slots:
void newLanguageLoaded();
void synchronizeItems(const QList<returnActionOnCopyList>& returnActions);
public:
+ /// \brief the transfer item with progression
struct ItemOfCopyListWithMoreInformations
{
quint64 currentProgression;
@@ -60,6 +61,7 @@ public:
ActionTypeCopyList actionType;
bool custom_with_progression;
};
+ /// \brief returned first transfer item
struct currentTransfertItem
{
quint64 id;
@@ -96,20 +98,31 @@ public:
/// \brief set if is in pause
void isInPause(bool);
signals:
+ #ifdef ULTRACOPIER_PLUGIN_DEBUG
+ /// \brief To debug source
+ void debugInformation(DebugLevel level,QString fonction,QString text,QString file,int ligne);
+ #endif
//set the transfer list
- void setActionOnList(ActionOnCopyList action);
+ void removeItems(QList<int> ids);
+ void moveItemsOnTop(QList<int> ids);
+ void moveItemsUp(QList<int> ids);
+ void moveItemsDown(QList<int> ids);
+ void moveItemsOnBottom(QList<int> ids);
+ void exportTransferList();
+ void importTransferList();
//user ask ask to add folder (add it with interface ask source/destination)
void userAddFolder(CopyMode);
void userAddFile(CopyMode);
+ void urlDropped(QList<QUrl> urls);
//action on the copy
void pause();
void resume();
void skip(quint64 id);
void cancel();
//edit the action
- void setCollisionAction(QString action);
- void setErrorAction(QString action);
- void newSpeedLimitation(qint64);///< -1 if not able, 0 if disabled
+ void sendCollisionAction(QString action);
+ void sendErrorAction(QString action);
+ void newSpeedLimitation(qint64);
public:
//constructor and destructor
InterfacePlugin(FacilityInterface * facilityEngine);