QCodeEdit  2.2
Public Member Functions | Protected Attributes | Friends | List of all members
QSnippet Class Referenceabstract

The base class for snippets. More...

Inheritance diagram for QSnippet:
Inheritance graph
[legend]

Public Member Functions

 QSnippet (const QSnippetPatternLoader *pl)
 
QString name () const
 
void setName (const QString &n)
 
QStringList contexts () const
 
void setContexts (const QStringList &l)
 
QString pattern () const
 
void setPattern (const QString &p)
 
virtual void insert (QEditor *e) const =0
 

Protected Attributes

QString m_name
 
QString m_pattern
 
QStringList m_contexts
 
const QSnippetPatternLoaderm_patternLoader
 

Friends

class QSnippetManager
 

Detailed Description

The base class for snippets.


The documentation for this class was generated from the following file: