Cosmetic changes to scrollin gon listwidget
[vlc-remote] / accountdialog.h
index 93c3da0..f898183 100644 (file)
@@ -2,24 +2,35 @@
 #define ACCOUNTDIALOG_H
 
 #include <QDialog>
-
+#include <QListWidget>
+#include <QFutureWatcher>
 namespace Ui {
     class AccountDialog;
 }
 
-class AccountDialog : public QDialog {
+class AccountDialog : public QDialog
+{
     Q_OBJECT
+
 public:
     explicit AccountDialog(QWidget *parent = 0);
     ~AccountDialog();
-public slots:
-    void addAccount();
+     static QListWidgetItem asyncTestItem(const QListWidgetItem& item);
 
-protected:
-    void changeEvent(QEvent *e);
 
+static QString  currentIp();
+
+public slots:
+    void add();
+    void edit();
+    void rem();
+    void use();
+    void load();
+    void enableUi();
+ void setAsyncItem(int row);
 private:
     Ui::AccountDialog *ui;
+    QFutureWatcher <QListWidgetItem> * mFuturWatcher;
 };
 
 #endif // ACCOUNTDIALOG_H