diff options
author | Weblate <noreply@weblate.org> | 2017-11-27 09:55:06 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2017-11-27 09:55:06 +0000 |
commit | 152a57c8c2844d63f95803128b216c8ab722e6e2 (patch) | |
tree | 0ce13eccbf6ef36df43d4c558657c9699f757d20 /src-qt5/desktop-utils/lumina-fm-dev/OPWidget.h | |
parent | Translated using Weblate (Spanish) (diff) | |
parent | remove file manager dev folder (diff) | |
download | lumina-152a57c8c2844d63f95803128b216c8ab722e6e2.tar.gz lumina-152a57c8c2844d63f95803128b216c8ab722e6e2.tar.bz2 lumina-152a57c8c2844d63f95803128b216c8ab722e6e2.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm-dev/OPWidget.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm-dev/OPWidget.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm-dev/OPWidget.h b/src-qt5/desktop-utils/lumina-fm-dev/OPWidget.h deleted file mode 100644 index 4fdb7db8..00000000 --- a/src-qt5/desktop-utils/lumina-fm-dev/OPWidget.h +++ /dev/null @@ -1,64 +0,0 @@ -//=========================================== -// Lumina-DE source code -// Copyright (c) 2016, Ken Moore -// Available under the 3-clause BSD license -// See the LICENSE file for full details -//=========================================== -// This is the system tray icon for queueing/running file operations -//=========================================== -#ifndef _LUMINA_FILE_MANAGER_FILE_OP_OPWIDGET_H -#define _LUMINA_FILE_MANAGER_FILE_OP_OPWIDGET_H - -#include "FODialog.h" -#include "ScrollDialog.h" - -#include <QWidgetAction> - -namespace Ui{ - class OPWidget; -}; - -class OPWidget : public QWidget{ - Q_OBJECT -public: - OPWidget(QWidget *parent = 0); - ~OPWidget(); - - QWidgetAction* widgetAction(); //for loading the widget into a menu - - void setupOperation(QString optype, QStringList oldF, QStringList newF); - - bool isDone(); - - //Status reporting after worker finishes - bool hasErrors(); - float duration(); //in seconds - QString finalStat(); //Final status message - -public slots: - void startOperation(); - -private: - Ui::OPWidget *ui; - ScrollDialog *dlg; - //Main Objects - QWidgetAction *WA; - FOWorker *worker; - QThread *workthread; - //Bookkeeping items for statistics and such - qint64 starttime, endtime; //in ms - QStringList Errors; - QString tract; //translated action - -private slots: - void closeWidget(); - void showErrors(); - void opFinished(QStringList); //errors - void opUpdate(int, int, QString, QString); //current, total, old file, new file - -signals: - void starting(QString); - void finished(QString); - void closed(QString); -}; -#endif |