kdevplatform/project
#include <projectmodel.h>

Additional Inherited Members | |
![]() | |
enum | ProjectItemType { BaseItem = 0, BuildFolder = 1, Folder = 2, ExecutableTarget = 3, LibraryTarget = 4, Target = 5, File = 6, CustomProjectItemType = 100 } |
enum | RenameStatus { RenameOk = 0, ExistingItemSameName = 1, ProjectManagerRenameFailed = 2, InvalidNewName = 3 } |
![]() | |
static bool | pathLessThan (KDevelop::ProjectBaseItem *item1, KDevelop::ProjectBaseItem *item2) |
![]() | |
void | setModel (ProjectModel *model) |
void | setRow (int row) |
void | setText (const QString &text) |
![]() | |
const QScopedPointer< class ProjectBaseItemPrivate > | d_ptr |
Detailed Description
Folder which contains buildable targets as part of a buildable project.
Definition at line 312 of file projectmodel.h.
Constructor & Destructor Documentation
◆ ProjectBuildFolderItem() [1/2]
KDevelop::ProjectBuildFolderItem::ProjectBuildFolderItem | ( | IProject * | project, |
const Path & | path, | ||
ProjectBaseItem * | parent = nullptr |
||
) |
Create a new ProjectBuildFolderItem with the given path
with the optional parent parent
in the given project
.
Definition at line 668 of file projectmodel.cpp.
◆ ProjectBuildFolderItem() [2/2]
KDevelop::ProjectBuildFolderItem::ProjectBuildFolderItem | ( | const QString & | name, |
ProjectBaseItem * | parent | ||
) |
Create a child ProjectBuildFolderItem of parent
with name
.
The path is set automatically.
Definition at line 673 of file projectmodel.cpp.
Member Function Documentation
◆ iconName()
|
overridevirtual |
- Returns
- a string to pass to QIcon::fromTheme() as icon-name suitable to represent this item.
Reimplemented from KDevelop::ProjectFolderItem.
Definition at line 689 of file projectmodel.cpp.
◆ type()
|
overridevirtual |
Reimplemented from QStandardItem.
Reimplemented from KDevelop::ProjectFolderItem.
Definition at line 684 of file projectmodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Apr 13 2021 23:30:29 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.