mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
qt: fixed great ui pains with tunnels editing
This commit is contained in:
parent
9c6e3ff1d7
commit
669fb62a54
10 changed files with 68 additions and 53 deletions
|
@ -2,6 +2,7 @@
|
|||
#define DELAYEDSAVEMANAGER_H
|
||||
|
||||
#include "Saver.h"
|
||||
#include "I2pdQtTypes.h"
|
||||
|
||||
class DelayedSaveManager
|
||||
{
|
||||
|
@ -12,13 +13,14 @@ public:
|
|||
|
||||
typedef unsigned int DATA_SERIAL_TYPE;
|
||||
|
||||
virtual void delayedSave(DATA_SERIAL_TYPE dataSerial, bool needsTunnelFocus, std::string tunnelNameToFocus)=0;
|
||||
virtual void delayedSave(bool reloadAfterSave, DATA_SERIAL_TYPE dataSerial, FocusEnum focusOn, std::string tunnelNameToFocus, QWidget* widgetToFocus)=0;
|
||||
|
||||
//returns false iff save failed
|
||||
virtual bool appExiting()=0;
|
||||
|
||||
virtual bool needsFocusOnTunnel()=0;
|
||||
virtual FocusEnum getFocusOn()=0;
|
||||
virtual std::string& getTunnelNameToFocus()=0;
|
||||
virtual QWidget* getWidgetToFocus()=0;
|
||||
};
|
||||
|
||||
#endif // DELAYEDSAVEMANAGER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue