00001
00002
00003
00004
00005
00006 #ifndef __BUDDYINFO_H__
00007 #define __BUDDYINFO_H__
00008
00009 #include <QRegExp>
00010 #include <QString>
00011 #include <QVector>
00012
00013 class BuddyInfo
00014 {
00015 public:
00016 enum PatternType
00017 {
00018 PT_BASIC,
00019 PT_ADVANCED
00020 };
00021
00022 static QString createConfigEntry(const QVector<BuddyInfo>& buddies);
00023 static void readConfigEntry(const QString& configEntry, QVector<BuddyInfo>& outVector);
00024
00025 QRegExp pattern;
00026 PatternType patternType;
00027
00028 };
00029
00030 #endif