debug
This commit is contained in:
parent
b3fff3b68e
commit
553d8ee5ca
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 9.0.1, 2024-08-22T00:12:24. -->
|
||||
<!-- Written by QtCreator 9.0.1, 2024-08-29T01:07:20. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
|
@ -121,7 +121,6 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
connect(this, &MainWindow::stopDownloading, this, &MainWindow::cancelled);
|
||||
connect(config.buttonBox, SIGNAL(accepted()), this, SLOT(on_buttonBox_accepted()));
|
||||
connect(config.comboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &MainWindow::on_comboBox_currentIndexChanged);
|
||||
connect(ui->khistorycombobox, QOverload<const QString &>::of(&KComboBox::returnPressed), this, &MainWindow::on_return_pressed);
|
||||
populateList(ui->khistorycombobox->currentText(), ui->portEdit->text().toUInt());
|
||||
initialization = false;
|
||||
}
|
||||
@ -1566,27 +1565,3 @@ void MainWindow::on_actionHiddenService_triggered()
|
||||
preparePopulateTree();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_khistorycombobox_currentTextChanged(const QString &server)
|
||||
{
|
||||
/*info(DEBUGMACRO, "on_khistorycombobox_currenTextChanged() => Starting connexion to new server");
|
||||
if (this->initialization == false)
|
||||
{
|
||||
populateList(server, connexion.port);
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::on_khistorycombobox_editTextChanged(const QString &server)
|
||||
{
|
||||
/*info(DEBUGMACRO, "on_khistorycombobox_currenTextChanged() => Starting connexion to new server");
|
||||
if (this->initialization == false)
|
||||
{
|
||||
populateList(server, connexion.port);
|
||||
}*/
|
||||
}
|
||||
|
||||
void MainWindow::on_return_pressed(const QString &server)
|
||||
{
|
||||
info(DEBUGMACRO, "On_return_pressed");
|
||||
}
|
||||
|
28
mainwindow.h
28
mainwindow.h
@ -54,8 +54,8 @@ class Connexion
|
||||
public:
|
||||
int bandwidthLimit = 0;
|
||||
int bandwidthLimitUnit;
|
||||
int contimeout = 20;
|
||||
QString server;
|
||||
int contimeout = 20;
|
||||
QString server;
|
||||
QString service;
|
||||
QString path;
|
||||
QString savePath;
|
||||
@ -73,8 +73,8 @@ class Downloading
|
||||
public:
|
||||
QString server;
|
||||
QString service;
|
||||
QString path;
|
||||
QString savePath;
|
||||
QString path;
|
||||
QString savePath;
|
||||
QString user;
|
||||
QString password;
|
||||
int ipversion = 4;
|
||||
@ -89,8 +89,8 @@ class About
|
||||
public:
|
||||
QString version;
|
||||
QString author = "Daniel TARTAVEL-JEANNOT";
|
||||
QString licence = "GPL_V3";
|
||||
QString description;
|
||||
QString licence = "GPL_V3";
|
||||
QString description;
|
||||
QString email = "dtux@free.fr";
|
||||
QString git = "https://git.labolyon.fr/dtux/RsyncUI/issues";
|
||||
};
|
||||
@ -102,10 +102,10 @@ class MainWindow : public QMainWindow
|
||||
public:
|
||||
Ui::MainWindow *ui;
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
// passwdManager;
|
||||
QProgressDialog *progress;
|
||||
Connexion connexion;
|
||||
~MainWindow();
|
||||
// passwdManager;
|
||||
QProgressDialog *progress;
|
||||
Connexion connexion;
|
||||
Connexion downloading;
|
||||
QSettings settings;
|
||||
About about;
|
||||
@ -219,14 +219,6 @@ class MainWindow : public QMainWindow
|
||||
|
||||
//void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
|
||||
|
||||
//void on_khistorycombobox_currentTextChanged(const QString &arg1);
|
||||
|
||||
void on_khistorycombobox_currentTextChanged(const QString &arg1);
|
||||
|
||||
void on_khistorycombobox_editTextChanged(const QString &arg1);
|
||||
|
||||
void on_return_pressed(const QString &server);
|
||||
|
||||
signals:
|
||||
void stopDownloading(QProcess *);
|
||||
void progressSignal(int);
|
||||
|
Loading…
Reference in New Issue
Block a user