File indexing completed on 2024-05-05 12:57:25
0001 /* 0002 * Copyright (C) 2009-2015 by Stephen Allewell 0003 * steve.allewell@gmail.com 0004 * 0005 * This program is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU General Public License as published by 0007 * the Free Software Foundation; either version 2 of the License, or 0008 * (at your option) any later version. 0009 */ 0010 0011 #ifndef LibraryListWidgetItem_H 0012 #define LibraryListWidgetItem_H 0013 0014 #include <QListWidgetItem> 0015 0016 class LibraryPattern; 0017 class QListWidget; 0018 0019 class LibraryListWidgetItem : public QListWidgetItem 0020 { 0021 public: 0022 LibraryListWidgetItem(QListWidget *listWidget, LibraryPattern *libraryPattern); 0023 0024 void setLibraryPattern(LibraryPattern *libraryPattern); 0025 LibraryPattern *libraryPattern(); 0026 0027 private: 0028 LibraryPattern *m_libraryPattern; 0029 }; 0030 0031 #endif // LibraryListWidgetItem_H