Make Quassel compile on amd64. Thanks aseigo for finding this issue and providing
[quassel.git] / src / client / treemodel.h
index f1317be..dc7e70d 100644 (file)
@@ -1,11 +1,11 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by The Quassel Team                             *
+ *   Copyright (C) 2005-07 by the Quassel IRC Team                         *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   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.                                   *
+ *   (at your option) version 3.                                           *
  *                                                                         *
  *   This program is distributed in the hope that it will be useful,       *
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
@@ -41,7 +41,7 @@ public:
   void appendChild(TreeItem *child);
   void removeChild(int row);
 
-  virtual uint id() const;
+  virtual quint64 id() const;
 
   TreeItem *child(int row) const;
   TreeItem *childById(const uint &) const;
@@ -67,7 +67,7 @@ protected:
 
 private:
   QList<TreeItem *> _childItems;
-  QHash<uint, TreeItem *> _childHash; // uint to be compatible to qHash functions
+  QHash<quint64, TreeItem *> _childHash; // uint to be compatible to qHash functions
   TreeItem *_parentItem;
   Qt::ItemFlags _flags;
 };