summaryrefslogtreecommitdiffstats
path: root/konversation/src/ignore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konversation/src/ignore.cpp')
-rw-r--r--konversation/src/ignore.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/konversation/src/ignore.cpp b/konversation/src/ignore.cpp
new file mode 100644
index 0000000..8ff8304
--- /dev/null
+++ b/konversation/src/ignore.cpp
@@ -0,0 +1,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 QString &newName,int newFlags)
+{
+ setFlags(newFlags);
+ setName(newName);
+}
+
+Ignore::~Ignore()
+{
+}
+
+void Ignore::setName(const QString &newName) { name=newName; }
+void Ignore::setFlags(int newFlags) { flags=newFlags; }
+QString Ignore::getName() { return name; }
+int Ignore::getFlags() { return flags; }