~ubuntu-branches/ubuntu/quantal/akonadi/quantal

« back to all changes in this revision

Viewing changes to server/src/akonadiconnection.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-01-24 23:43:13 UTC
  • mto: (3.1.12 sid)
  • mto: This revision was merged to the branch mainline in revision 69.
  • Revision ID: package-import@ubuntu.com-20120124234313-ooald4uh9w8jilyw
Tags: upstream-1.7.0
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
     * outgoing data transfers in a streaming manner, without having to
93
93
     * hold them in memory 'en gros'. */
94
94
 
95
 
    connect( m_socket, SIGNAL( readyRead() ),
96
 
             this, SLOT( slotNewData() ), Qt::DirectConnection );
97
 
    connect( m_socket, SIGNAL( disconnected() ),
98
 
             this, SLOT( slotDisconnected() ), Qt::DirectConnection );
 
95
    connect( m_socket, SIGNAL(readyRead()),
 
96
             this, SLOT(slotNewData()), Qt::DirectConnection );
 
97
    connect( m_socket, SIGNAL(disconnected()),
 
98
             this, SLOT(slotDisconnected()), Qt::DirectConnection );
99
99
 
100
100
    writeOut( "* OK Akonadi Almost IMAP Server [PROTOCOL 28]");
101
101
 
129
129
      Tracer::self()->connectionInput( m_identifier, (tag + ' ' + command + ' ' + m_streamParser->readRemainingData()) );
130
130
      m_currentHandler = findHandlerForCommand( command );
131
131
      assert( m_currentHandler );
132
 
      connect( m_currentHandler, SIGNAL( responseAvailable( const Response & ) ),
133
 
              this, SLOT( slotResponseAvailable( const Response & ) ), Qt::DirectConnection );
134
 
      connect( m_currentHandler, SIGNAL( connectionStateChange( ConnectionState ) ),
135
 
              this, SLOT( slotConnectionStateChange( ConnectionState ) ),
 
132
      connect( m_currentHandler, SIGNAL(responseAvailable(Response)),
 
133
              this, SLOT(slotResponseAvailable(Response)), Qt::DirectConnection );
 
134
      connect( m_currentHandler, SIGNAL(connectionStateChange(ConnectionState)),
 
135
              this, SLOT(slotConnectionStateChange(ConnectionState)),
136
136
               Qt::DirectConnection );
137
137
      m_currentHandler->setTag( tag );
138
138
      m_currentHandler->setStreamParser( m_streamParser );