summaryrefslogtreecommitdiffstats
path: root/ksirc/ioNotify.h
blob: 69c806667bc7a5c932a4806441353b448bdd7935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef KIONOTIFY_H
#define KIONOTIFY_H

#include <tqobject.h>

#include "messageReceiver.h"

class KSircIONotify : public TQObject,
		   public KSircMessageReceiver
{
  Q_OBJECT
  TQ_OBJECT
public:
  KSircIONotify(KSircProcess *_proc);
  virtual ~KSircIONotify();

  virtual void sirc_receive(TQCString, bool broadcast);
  virtual void control_message(int, TQString);

  virtual filterRuleList *defaultRules();

signals:
  virtual void notify_online(TQString);
  virtual void notify_offline(TQString);

protected slots:

private:
  KSircProcess *proc;
};

#endif