summaryrefslogtreecommitdiffstats
path: root/konversation/src/ignore.cpp
blob: 7f361cd0e1e4e74a22915dcecdc456dc421b62e0 (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
/*
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
*/

/*
  begin:     Mon Jun 24 2002
  copyright: (C) 2002 by Dario Abatianni
  email:     eisfuchs@tigress.com
*/

#include "ignore.h"


Ignore::Ignore(const TQString &newName,int newFlags)
{
    setFlags(newFlags);
    setName(newName);
}

Ignore::~Ignore()
{
}

void Ignore::setName(const TQString &newName) { name=newName; }
void Ignore::setFlags(int newFlags)   { flags=newFlags; }
TQString Ignore::getName()             { return name; }
int Ignore::getFlags()                { return flags; }