Kate::Project Class Reference
Interface to the project. More...
#include <project.h>
Signals | |
void | dirsAdded (const QString &dir, const QStringList &dirs) |
void | dirsRemoved (const QString &dir, const QStringList &dirs) |
void | filesAdded (const QString &dir, const QStringList &files) |
void | filesRemoved (const QString &dir, const QStringList &files) |
Public Member Functions | |
Project (void *project) | |
virtual | ~Project () |
unsigned int | projectNumber () const |
DCOPObject * | dcopObject () |
ProjectPlugin * | plugin () const |
KConfig * | data () |
KConfig * | dirData (const QString &dir=QString::null) |
KConfig * | fileData (const QString &file=QString::null) |
QString | type () |
QString | name () |
QString | fileName () |
QString | dir () |
bool | save () |
bool | queryClose () |
bool | close () |
QStringList | dirs (const QString &dir=QString::null) |
QStringList | files (const QString &dir=QString::null) |
void | addDirs (const QString &dir, QStringList &dirs) |
void | removeDirs (const QString &dir, QStringList &dirs) |
void | addFiles (const QString &dir, QStringList &files) |
void | removeFiles (const QString &dir, QStringList &files) |
Friends | |
class | PrivateProject |
Detailed Description
Interface to the project.
Definition at line 34 of file project.h.
Constructor & Destructor Documentation
|
Construtor, should not interest, internal usage.
Definition at line 66 of file project.cpp. |
|
Desctructor.
Definition at line 83 of file project.cpp. |
Member Function Documentation
|
Returns the project plugin of this project object.
Definition at line 98 of file project.cpp. |
|
Raw access to config file.
Definition at line 103 of file project.cpp. |
|
Return the project type.
Definition at line 128 of file project.cpp. |
|
Return the project name.
Definition at line 133 of file project.cpp. |
|
Return the filename of the project file.
Definition at line 138 of file project.cpp. |
|
Return the dir of the project.
Definition at line 143 of file project.cpp. |
|
Saves the project.
Definition at line 148 of file project.cpp. |
|
Query if the project can be closed now, don't close it, only ask questions or save it, or . ..
Definition at line 155 of file project.cpp. |
|
Close the project (says the project plugin the app requests a close, prepare for deletion).
Definition at line 160 of file project.cpp. |
The documentation for this class was generated from the following files: