X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreirclisthelper.cpp;h=b6f56e4125809169b8332f6ec3acc9b3e3f1fad6;hp=dbcdcc4c07090922cc2127ba9e75ee5c38b7a2d1;hb=af569a42f6635f6abfcedeb45b730ee64d53e0b8;hpb=02455427bfd88584a81f94b1b234fe21ad3e09cd diff --git a/src/core/coreirclisthelper.cpp b/src/core/coreirclisthelper.cpp index dbcdcc4c..b6f56e41 100644 --- a/src/core/coreirclisthelper.cpp +++ b/src/core/coreirclisthelper.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,7 +20,7 @@ #include "coreirclisthelper.h" -#include "networkconnection.h" +#include "corenetwork.h" #include "userinputhandler.h" QVariantList CoreIrcListHelper::requestChannelList(const NetworkId &netId, const QStringList &channelFilters) { @@ -44,10 +44,10 @@ bool CoreIrcListHelper::addChannel(const NetworkId &netId, const QString &channe } bool CoreIrcListHelper::dispatchQuery(const NetworkId &netId, const QString &query) { - NetworkConnection *networkConnection = coreSession()->networkConnection(netId); - if(networkConnection) { + CoreNetwork *network = coreSession()->network(netId); + if(network) { _channelLists[netId] = QList(); - networkConnection->userInputHandler()->handleList(BufferInfo(), query); + network->userInputHandler()->handleList(BufferInfo(), query); _queryTimeout[startTimer(10000)] = netId; return true; } else {