projects
/
jenirok
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed daemon to auto disconnect if network connection was initialized by itself.
[jenirok]
/
src
/
daemon
/
calllistener.h
diff --git
a/src/daemon/calllistener.h
b/src/daemon/calllistener.h
index
a2f5e88
..
8d098c8
100644
(file)
--- a/
src/daemon/calllistener.h
+++ b/
src/daemon/calllistener.h
@@
-27,10
+27,10
@@
#include "informationbox.h"
#include "eniro.h"
#include "contactmanager.h"
#include "informationbox.h"
#include "eniro.h"
#include "contactmanager.h"
+#include "connectionmanager.h"
class CallListener: public QObject
{
class CallListener: public QObject
{
-
Q_OBJECT
public:
Q_OBJECT
public:
@@
-39,7
+39,7
@@
public:
void begin();
void end();
static const int REQUEST_TIMEOUT = 10000;
void begin();
void end();
static const int REQUEST_TIMEOUT = 10000;
- static const int BANNER_DELAY = 300;
+ static const int BANNER_DELAY = 400;
static const int NUMBER_OF_RETRIES = 3;
private slots:
static const int NUMBER_OF_RETRIES = 3;
private slots:
@@
-58,11
+58,13
@@
private:
QString timedMessage_;
Eniro* eniro_;
ContactManager* contactManager_;
QString timedMessage_;
Eniro* eniro_;
ContactManager* contactManager_;
+ ConnectionManager* connectionManager_;
+ bool closeConnection_;
InformationBox* box_;
QLabel* label_;
static QDBusConnection systemBus_;
int retries_;
InformationBox* box_;
QLabel* label_;
static QDBusConnection systemBus_;
int retries_;
- Eniro::SearchDetails currentSearch_;
+ QString currentSearch_;
};
#endif // CALLLISTENER_H
};
#endif // CALLLISTENER_H