Isis Developer Reference
FileItem.h
Go to the documentation of this file.
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
16namespace 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
36 typedef QSharedPointer<FileItem> FileItemQsp;
37
38}
39
40#endif // FileItem_h
A container for a filename to be represented as a ProjectItem on the project tree.
Definition FileItem.h:28
FileItem(const QString filename)
Definition FileItem.h:30
QString fileName()
Definition FileItem.h:31
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
QSharedPointer< FileItem > FileItemQsp
A FileItem smart pointer.
Definition FileItem.h:36