summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircmessage.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/ircmessage.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircmessage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircmessage.h b/noncore/net/opieirc/ircmessage.h
index 0c5c879..10ba450 100644
--- a/noncore/net/opieirc/ircmessage.h
+++ b/noncore/net/opieirc/ircmessage.h
@@ -18,14 +18,14 @@
*/
#ifndef __IRCMESSAGE_H
#define __IRCMESSAGE_H
-#include <qstring.h>
-#include <qstringlist.h>
+class QString;
+class QStringList;
/* IRCMessage objects are used to encapsulate information
which the IRC server sent to us. */
class IRCMessage {
public:
@@ -49,12 +49,14 @@ public:
/* Return the trailing parameter string */
QString trailing();
/* Return the complete parameter string */
QString allParameters();
/* Return one parameter */
QString param(int param);
+ /* Return some parameters */
+ QStringList params(const QString &paramstring) const;
protected:
QString m_prefix;
QString m_command;
QString m_ctcpCommand;
QString m_ctcpDestination;
unsigned short m_commandNumber;