fixed bug #211392: Incorrect rotation angle after annotating multiple
[kphotoalbum.git] / SQLDB / SQLNormalCategory.h
blob13ac78be791b33a7dbf36cd7f77a75c0002d529d
1 /*
2 Copyright (C) 2006 Tuomas Suutari <thsuut@utu.fi>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program (see the file COPYING); if not, write to the
16 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
17 MA 02110-1301 USA.
20 #ifndef SQLNORMALCATEGORY_H
21 #define SQLNORMALCATEGORY_H
23 #include "SQLTagCategory.h"
25 namespace SQLDB {
26 class SQLNormalCategory: public SQLTagCategory
28 Q_OBJECT
30 public:
31 virtual void setName(const QString&);
32 virtual void setSpecialCategory(bool) {}
33 virtual bool isSpecialCategory() const { return false; }
35 protected:
36 friend class SQLCategoryCollection;
37 SQLNormalCategory(QueryHelper* queryHelper, int categoryId):
38 SQLTagCategory(queryHelper, categoryId) {}
42 #endif /* SQLNORMALCATEGORY_H */