X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=fc46881e1ccf11c08234ca6851453c27c8f54cb8;hp=c6a4bb1d23bd3e078fa2eb547c1725ebf0704d62;hb=f19fea582ace1d8f3dfe29c1096c48758079e56e;hpb=c9b7f5cfe4377cc242c24212fff48aad70192b48 diff --git a/src/common/types.h b/src/common/types.h index c6a4bb1d..fc46881e 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -88,12 +88,16 @@ struct AccountId : public SignedId { inline AccountId(int _id = 0) : SignedId(_id) {}; }; -Q_DECLARE_METATYPE(UserId); -Q_DECLARE_METATYPE(MsgId); -Q_DECLARE_METATYPE(BufferId); -Q_DECLARE_METATYPE(NetworkId); -Q_DECLARE_METATYPE(IdentityId); -Q_DECLARE_METATYPE(AccountId); +Q_DECLARE_METATYPE(UserId) +Q_DECLARE_METATYPE(MsgId) +Q_DECLARE_METATYPE(BufferId) +Q_DECLARE_METATYPE(NetworkId) +Q_DECLARE_METATYPE(IdentityId) +Q_DECLARE_METATYPE(AccountId) + +// a few typedefs +typedef QList MsgIdList; +typedef QList BufferIdList; //! Base class for exceptions. struct Exception { @@ -103,7 +107,6 @@ struct Exception { protected: QString _msg; - }; #endif