* \param aConnection Reference to ConnectionSettings which holds
* the server to connect to and authentication information.
*/
- Communication( const ConnectionSettings &aConnection );
+ Communication(/* const ConnectionSettings &aConnection*/ );
virtual ~Communication();
//! Returns the response of a request identified by aRequestId.
*/
int request( const QString &aCommand, const QByteArray &aContent );
+
+
signals:
//! Emitted when a request ongoing. Reports the bytes read from the server.
/*!
void handleRequestStarted( int aRequestId );
//! Connected to QHttp::dataReadProgress
void handleReadProgress( int aDone, int aTotal );
+ //!Called when the settings are changed by the user
+ void configurationChanged();
+
private:
/*!
* Instance of Connection settings of the communication
*/
- ConnectionSettings *iConnectionSettings;
+ //ConnectionSettings *iConnectionSettings;
/*!
* Instance of QHttp
*/