Isis 3 Programmer Reference
FileItem.h
1 #ifndef FileItem_h
2 #define FileItem_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QSharedPointer>
13 #include <QObject>
14 #include <QString>
15 
16 namespace Isis {
17 
28  class FileItem : public QObject {
29  public:
30  FileItem(const QString filename) : m_filename(filename) {};
31  QString fileName() { return m_filename; };
32  private:
33  QString m_filename;
34  };
35 
37 
38 }
39 
40 #endif // FileItem_h
QSharedPointer< FileItem >
Isis::FileItemQsp
QSharedPointer< FileItem > FileItemQsp
A FileItem smart pointer.
Definition: FileItem.h:36
QObject
Isis::FileItem
A container for a filename to be represented as a ProjectItem on the project tree.
Definition: FileItem.h:28
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16