cleaning\ncorrections of code
This commit is contained in:
+11
-38
@@ -7,41 +7,13 @@
|
||||
#include "ui_configuration.h"
|
||||
#include "ui_about.h"
|
||||
#include <QMainWindow>
|
||||
#include <string>
|
||||
#include <QTreeWidgetItem>
|
||||
#include <QList>
|
||||
#include <QListWidgetItem>
|
||||
#include <QProgressDialog>
|
||||
#include <QSettings>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <KTreeWidgetSearchLineWidget>
|
||||
#include <pstreams/pstream.h>
|
||||
#include <sstream>
|
||||
#include <cstring>
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <QMessageBox>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
#include <QFileDialog>
|
||||
#include <QThread>
|
||||
#include <QProgressDialog>
|
||||
#include <sys/wait.h>
|
||||
#include <QGuiApplication>
|
||||
#include <QShortcut>
|
||||
#include <QCloseEvent>
|
||||
#include <unistd.h>
|
||||
#include <magic.h>
|
||||
#include <QComboBox>
|
||||
#include <QStringBuilder>
|
||||
#include <pwd.h>
|
||||
#include <QProcess>
|
||||
#include <QToolBar>
|
||||
#include <QDir>
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QMenu>
|
||||
#include <QTranslator>
|
||||
#include <QInputDialog>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindow; }
|
||||
@@ -69,7 +41,7 @@ class Connexion
|
||||
bool paused = false;
|
||||
};
|
||||
|
||||
class Downloading
|
||||
/*class Downloading
|
||||
{
|
||||
public:
|
||||
QString server;
|
||||
@@ -85,7 +57,7 @@ class Downloading
|
||||
bool paused = false;
|
||||
|
||||
void clear();
|
||||
};
|
||||
};*/
|
||||
|
||||
class About
|
||||
{
|
||||
@@ -94,8 +66,8 @@ class About
|
||||
QString author = "Daniel TARTAVEL-JEANNOT";
|
||||
QString licence = "GPL_V3";
|
||||
QString description;
|
||||
QString email = "dtux@free.fr";
|
||||
QString git = "https://git.labolyon.fr/dtux/RsyncUI/issues";
|
||||
QString email = "dtux@free.fr";
|
||||
QString git = "https://git.labolyon.fr/dtux/RsyncUI/issues";
|
||||
};
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
@@ -103,12 +75,12 @@ class MainWindow : public QMainWindow
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Ui::MainWindow *ui;
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
// passwdManager;
|
||||
QProgressDialog *progress;
|
||||
Connexion connexion;
|
||||
Ui::MainWindow *ui;
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
// passwdManager;
|
||||
QProgressDialog *progress;
|
||||
Connexion connexion;
|
||||
Connexion downloading;
|
||||
QSettings settings;
|
||||
About about;
|
||||
@@ -134,6 +106,7 @@ class MainWindow : public QMainWindow
|
||||
tr("TB"),
|
||||
tr("PB")
|
||||
};
|
||||
|
||||
QList<QChar> bwUnitChar
|
||||
{
|
||||
'K',
|
||||
|
||||
Reference in New Issue
Block a user