some work on qt

This commit is contained in:
user 2020-03-10 21:49:04 +08:00
parent 26ad793d82
commit ee73ee365f
13 changed files with 466 additions and 75 deletions

22
qt/i2pd_qt/Saver.h Normal file
View file

@ -0,0 +1,22 @@
#ifndef SAVER_H
#define SAVER_H
#include <string>
#include <QObject>
#include <QString>
class Saver : public QObject
{
Q_OBJECT
public:
Saver();
//false iff failures
virtual bool save(const bool focusOnTunnel, const std::string& tunnelNameToFocus)=0;
signals:
void reloadTunnelsConfigAndUISignal(const QString);
};
#endif // SAVER_H