The input line is now enabled disabled correctly according to the current buffer...
[quassel.git] / src / client / networkmodel.h
index 961c1ca..41e5f1d 100644 (file)
@@ -110,6 +110,7 @@ public:
   NetworkItem(const NetworkId &netid, AbstractTreeItem *parent = 0);
 
   virtual quint64 id() const;
   NetworkItem(const NetworkId &netid, AbstractTreeItem *parent = 0);
 
   virtual quint64 id() const;
+  inline const NetworkId &networkId() const { return _networkId; }
   virtual QVariant data(int column, int row) const;
 
   bool isActive() const;
   virtual QVariant data(int column, int row) const;
 
   bool isActive() const;
@@ -124,8 +125,6 @@ public slots:
 
   void attachNetwork(Network *network);
   void attachIrcChannel(const QString &channelName);
 
   void attachNetwork(Network *network);
   void attachIrcChannel(const QString &channelName);
-
-  void setActive(bool connected);
   
 private:
   NetworkId _networkId;
   
 private:
   NetworkId _networkId;