projects
/
irwi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Network error handling to RemoteDBMgr and SelectRemoteDlg
[irwi]
/
src
/
selectremotedlg.h
diff --git
a/src/selectremotedlg.h
b/src/selectremotedlg.h
index
8433318
..
3fdeb6c
100644
(file)
--- a/
src/selectremotedlg.h
+++ b/
src/selectremotedlg.h
@@
-11,6
+11,7
@@
class QHBoxLayout;
class QListWidget;
class QListWidgetItem;
class QHBoxLayout;
class QListWidget;
class QListWidgetItem;
+class RemoteTable;
class QSettings;
class QNetworkAccessManager;
class QNetworkReply;
class QSettings;
class QNetworkAccessManager;
class QNetworkReply;
@@
-18,6
+19,7
@@
class QWidget;
class QPushButton;
class QLabel;
class QShowEvent;
class QPushButton;
class QLabel;
class QShowEvent;
+class OnlinePollerThread;
class SelectRemoteDlg : public QDialog
{
class SelectRemoteDlg : public QDialog
{
@@
-29,6
+31,7
@@
public:
public slots:
void refreshDB();
public slots:
void refreshDB();
+ void getDB();
private slots:
void alphabetItemChanged(QListWidgetItem *current,
private slots:
void alphabetItemChanged(QListWidgetItem *current,
@@
-36,6
+39,7
@@
private slots:
void mfgItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
void downloadRemote();
void setDB(RemoteDB *db);
void mfgItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
void downloadRemote();
void setDB(RemoteDB *db);
+ void onDBError(int error);
signals:
void remoteChanged(Remote);
signals:
void remoteChanged(Remote);
@@
-50,9
+54,10
@@
private:
QHBoxLayout *layout;
QListWidget *alphabetList;
QListWidget *mfgList;
QHBoxLayout *layout;
QListWidget *alphabetList;
QListWidget *mfgList;
- QListWidget *modelList;
+ RemoteTable *modelList;
QPushButton *downloadBtn;
RemoteDB *remoteDB;
QPushButton *downloadBtn;
RemoteDB *remoteDB;
+ OnlinePollerThread *onlinePollerThread;
void setBusy(bool busy = true);
};
void setBusy(bool busy = true);
};