File indexing completed on 2024-05-12 04:06:26
0001 /* 0002 SPDX-FileCopyrightText: 2009-2011 Stefan Majewsky <majewsky@gmx.net> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef PALAPELI_COLLECTION_P_H 0008 #define PALAPELI_COLLECTION_P_H 0009 0010 #include "collection.h" 0011 0012 class Palapeli::Collection::Item : public QObject, public QStandardItem 0013 { 0014 Q_OBJECT 0015 public: 0016 Item(Palapeli::Puzzle* puzzle); 0017 0018 Palapeli::Puzzle* puzzle() const { return m_puzzle; } 0019 public Q_SLOTS: 0020 void populate(); 0021 private: 0022 Palapeli::Puzzle* m_puzzle; 0023 }; 0024 0025 #endif // PALAPELI_COLLECTION_P_H