kdevplatform/project
projectmodel.h
Go to the documentation of this file.
110 BaseItem = 0 ,
111 BuildFolder = 1 ,
112 Folder = 2 ,
113 ExecutableTarget = 3 ,
114 LibraryTarget = 4 ,
115 Target = 5 ,
116 File = 6 ,
117 CustomProjectItemType = 100
122 RenameOk = 0,
123 ExistingItemSameName = 1,
124 ProjectManagerRenameFailed = 2,
125 InvalidNewName = 3
319 ProjectBuildFolderItem( IProject* project, const Path &path, ProjectBaseItem* parent = nullptr );
358 ProjectExecutableTargetItem( IProject*, const QString &name, ProjectBaseItem *parent = nullptr );
375 ProjectLibraryTargetItem(IProject* project, const QString &name, ProjectBaseItem *parent = nullptr );
425 ProjectRole = Qt::UserRole+1
426 , ProjectItemRole
427 , UrlRole
428 , LastRole
453 QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override;
455 bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override;
478 KDEVPLATFORMPROJECT_EXPORT QStringList joinProjectBasePath( const QStringList& partialpath, KDevelop::ProjectBaseItem* item );
479 KDEVPLATFORMPROJECT_EXPORT QStringList removeProjectBasePath( const QStringList& fullpath, KDevelop::ProjectBaseItem* item );
Implementation of the ProjectBaseItem interface that is specific to a folder.
Definition: projectmodel.h:268
Object which represents an executable target in a build system.
Definition: projectmodel.h:355
Folder which contains buildable targets as part of a buildable project.
Definition: projectmodel.h:312
static KDevelop::ProjectBaseItem * itemForPath(const QStringList &path, KDevelop::ProjectModel *model)
Definition: dependencieswidget.cpp:30
Interface that allows a developer to implement the three basic types of items you would see in a mult...
Definition: projectmodel.h:101
Class providing some convenience methods for accessing the project model.
Definition: projectmodel.h:420
Definition: projectmodel.h:31
Base class to implement the visitor pattern for the project item tree.
Definition: projectmodel.h:56
QStringList joinProjectBasePath(const QStringList &partialpath, KDevelop::ProjectBaseItem *item)
Definition: projectmodel.cpp:62
Object which represents a library target in a build system.
Definition: projectmodel.h:372
const QScopedPointer< class ProjectBaseItemPrivate > d_ptr
Definition: projectmodel.h:256
typedef DropActions
Definition: abstractfilemanagerplugin.h:33
typedef ItemFlags
QStringList removeProjectBasePath(const QStringList &fullpath, KDevelop::ProjectBaseItem *item)
Definition: projectmodel.cpp:46
Object which represents a target in a build system.
Definition: projectmodel.h:337
Definition: projectmodel.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Mar 3 2021 00:37:59 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Mar 3 2021 00:37:59 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.