X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=accountdialog.h;h=f898183228e05fd51c46d07fd587ff36f0532558;hb=548d8d72deaba76b2d2fc21210cf3e7870eb4cf8;hp=4e9ce4dcf6c5b2dfd94aee26750f60cda69f348a;hpb=018f430ef46c5eb2aaa1634686d54ce281e124ad;p=vlc-remote diff --git a/accountdialog.h b/accountdialog.h index 4e9ce4d..f898183 100644 --- a/accountdialog.h +++ b/accountdialog.h @@ -2,7 +2,8 @@ #define ACCOUNTDIALOG_H #include - +#include +#include namespace Ui { class AccountDialog; } @@ -14,7 +15,8 @@ class AccountDialog : public QDialog public: explicit AccountDialog(QWidget *parent = 0); ~AccountDialog(); - void asyncTestConnection(); + static QListWidgetItem asyncTestItem(const QListWidgetItem& item); + static QString currentIp(); @@ -25,9 +27,10 @@ public slots: void use(); void load(); void enableUi(); - + void setAsyncItem(int row); private: Ui::AccountDialog *ui; + QFutureWatcher * mFuturWatcher; }; #endif // ACCOUNTDIALOG_H