KDevFile Class Reference
#include <kdevfile.h>
Public Types | |
enum | CommentingStyle { NoCommenting, CPPStyle, CStyle, AdaStyle, PascalStyle, BashStyle, XMLStyle } |
Styles of comment-formats a source file can take. More... | |
Static Public Member Functions | |
CommentingStyle | commentingStyleFromMimeType (const QString &mimeType) |
return a commenting style for a given mime type. | |
CommentingStyle | commentingStyleFromMimeType (KMimeType::Ptr mimeType) |
return a commenting style for a given mime type. |
Member Enumeration Documentation
|
Styles of comment-formats a source file can take.
Definition at line 33 of file kdevfile.h. Referenced by commentingStyleFromMimeType(). |
Member Function Documentation
|
return a commenting style for a given mime type.
Definition at line 56 of file kdevfile.cpp. References CommentingStyle, commentingStyleFromMimeType(), and KMimeType::Ptr. |
|
return a commenting style for a given mime type.
Definition at line 44 of file kdevfile.cpp. References CommentingStyle, MimeTypeMapping::commentStyle, mimeTypeMapping, and MimeTypeMapping::szMimeType. Referenced by commentingStyleFromMimeType(). |
The documentation for this class was generated from the following files:
- lib/interfaces/kdevfile.h
- lib/interfaces/kdevfile.cpp