diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-03-26 18:02:25 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-03-27 11:08:35 (GMT) |
commit | f3ec88cb128ee912457e273c420839d4bd295572 (patch) | |
tree | 238d5935289bd95beecdb82b8f10b59f08d6edf0 /tools | |
parent | d3be9fa7c981430c48de0a65938f3a2bd636bfcc (diff) | |
download | Qt-f3ec88cb128ee912457e273c420839d4bd295572.zip Qt-f3ec88cb128ee912457e273c420839d4bd295572.tar.gz Qt-f3ec88cb128ee912457e273c420839d4bd295572.tar.bz2 |
declare type info next to the type, not "somewhere"
Diffstat (limited to 'tools')
-rw-r--r-- | tools/linguist/shared/translator.h | 2 | ||||
-rw-r--r-- | tools/linguist/shared/translatormessage.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/linguist/shared/translator.h b/tools/linguist/shared/translator.h index ba719ec..8908305 100644 --- a/tools/linguist/shared/translator.h +++ b/tools/linguist/shared/translator.h @@ -52,8 +52,6 @@ QT_BEGIN_NAMESPACE -Q_DECLARE_TYPEINFO(TranslatorMessage, Q_MOVABLE_TYPE); - class QIODevice; // A struct of "interesting" data passed to and from the load and save routines diff --git a/tools/linguist/shared/translatormessage.h b/tools/linguist/shared/translatormessage.h index 2818e28..363019e 100644 --- a/tools/linguist/shared/translatormessage.h +++ b/tools/linguist/shared/translatormessage.h @@ -175,6 +175,8 @@ private: bool m_plural; }; +Q_DECLARE_TYPEINFO(TranslatorMessage, Q_MOVABLE_TYPE); + int qHash(const TranslatorMessage &msg); QT_END_NAMESPACE |