~jdong/ktorrent/ktorrent.debian

« back to all changes in this revision

Viewing changes to libktorrent/kademlia/task.cpp

  • Committer: John Dong
  • Date: 2006-11-24 05:43:21 UTC
  • mfrom: (946.1.28)
  • Revision ID: john.dong@gmail.com-20061124054321-dnouhtgvqt3k3lc8
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        
118
118
        void Task::addDHTNode(const QString & ip,bt::Uint16 port)
119
119
        {
120
 
                KResolver::resolveAsync(this,SLOT(onResolverResults( KNetwork::KResolverResults )),
 
120
                KResolver::resolveAsync(this,SLOT(onResolverResults(KResolverResults )),
121
121
                                                                ip,QString::number(port));
122
122
        }
123
123
        
124
 
        void Task::onResolverResults(KNetwork::KResolverResults res)
 
124
        void Task::onResolverResults(KResolverResults res)
125
125
        {
126
126
                if (res.count() == 0)
127
127
                        return;