aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncconfig/QueryConnectDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/vncconfig/QueryConnectDialog.h')
-rw-r--r--unix/vncconfig/QueryConnectDialog.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/unix/vncconfig/QueryConnectDialog.h b/unix/vncconfig/QueryConnectDialog.h
index 5763e1ce..7e9450b0 100644
--- a/unix/vncconfig/QueryConnectDialog.h
+++ b/unix/vncconfig/QueryConnectDialog.h
@@ -19,7 +19,8 @@
#ifndef __QUERYCONNECTDIALOG_H__
#define __QUERYCONNECTDIALOG_H__
-#include <rfb/Timer.h>
+#include <core/Timer.h>
+
#include "TXLabel.h"
#include "TXButton.h"
#include "TXDialog.h"
@@ -34,7 +35,7 @@ class QueryResultCallback {
class QueryConnectDialog : public TXDialog, public TXEventHandler,
public TXButtonCallback,
- public rfb::Timer::Callback
+ public core::Timer::Callback
{
public:
QueryConnectDialog(Display* dpy, const char* address_,
@@ -43,14 +44,14 @@ class QueryConnectDialog : public TXDialog, public TXEventHandler,
void handleEvent(TXWindow*, XEvent* ) override { }
void deleteWindow(TXWindow*) override;
void buttonActivate(TXButton* b) override;
- void handleTimeout(rfb::Timer* t) override;
+ void handleTimeout(core::Timer* t) override;
private:
void refreshTimeout();
TXLabel addressLbl, address, userLbl, user, timeoutLbl, timeout;
TXButton accept, reject;
QueryResultCallback* callback;
int timeUntilReject;
- rfb::Timer timer;
+ core::Timer timer;
};
#endif