~ubuntu-branches/debian/sid/kde-baseapps/sid

« back to all changes in this revision

Viewing changes to konq-plugins/searchbar/OpenSearchManager.cpp

  • Committer: Package Import Robot
  • Author(s): Modestas Vainius, Eshat Cakar, Pino Toscano
  • Date: 2012-06-09 22:18:08 UTC
  • mfrom: (4.2.1) (6.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20120609221808-h1l0ekd5qmb8nefr
Tags: 4:4.8.4-1
* New upstream release.

[ Eshat Cakar ]
* Add watch file.
* Bump kde-sc-dev-latest build dependency to version 4:4.8.4.
* Update installed files.

[ Pino Toscano ]
* Move files of the konqueror documentation from kde-baseapps-data to
  konqueror itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
 
91
91
    m_state = REQ_DESCRIPTION;
92
92
    KIO::TransferJob *job = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
93
 
    connect(job, SIGNAL(data(KIO::Job *, const QByteArray &)),
94
 
            this, SLOT(dataReceived(KIO::Job *, const QByteArray &)));
95
 
    connect(job, SIGNAL(result(KJob *)), SLOT(jobFinished(KJob *)));
 
93
    connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
 
94
            this, SLOT(dataReceived(KIO::Job*,QByteArray)));
 
95
    connect(job, SIGNAL(result(KJob*)), SLOT(jobFinished(KJob*)));
96
96
}
97
97
 
98
98
void OpenSearchManager::requestSuggestion(const QString &searchText)
110
110
    kDebug(1202) << "Requesting for suggestions: " << url.url();
111
111
    m_jobData.clear();
112
112
    KIO::TransferJob *job = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
113
 
    connect(job, SIGNAL(data(KIO::Job *, const QByteArray &)),
114
 
            this, SLOT(dataReceived(KIO::Job *, const QByteArray &)));
115
 
    connect(job, SIGNAL(result(KJob *)), SLOT(jobFinished(KJob *)));
 
113
    connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
 
114
            this, SLOT(dataReceived(KIO::Job*,QByteArray)));
 
115
    connect(job, SIGNAL(result(KJob*)), SLOT(jobFinished(KJob*)));
116
116
}
117
117
 
118
118
void OpenSearchManager::dataReceived(KIO::Job *job, const QByteArray &data)