KPIM::Signature Class Reference
abstraction of a signature (aka "footer"). More...
#include <identity.h>
Public Types
- enum Type { Disabled = 0, Inlined = 1, FromFile = 2, FromCommand = 3 }
Public Member Functions
- bool operator== (const Signature &other) const
- Signature ()
- Signature (const QString &text)
- Signature (const QString &url, bool isExecutable)
- QString rawText (bool *ok=0) const
- QString withSeparator (bool *ok=0) const
- void setText (const QString &text)
- QString text () const
- void setUrl (const QString &url, bool isExecutable=false)
- QString url () const
- Type type () const
Protected Member Functions
Friends
- class Identity
- QDataStream & KPIM::operator<< (QDataStream &stream, const Signature &sig)
- QDataStream & KPIM::operator>> (QDataStream &stream, Signature &sig)
Detailed Description
abstraction of a signature (aka "footer").
- Author:
- Marc Mutz <mutz@kde.org>
Member Enumeration Documentation
|
Type of signature (ie. way to obtain the signature text) |
Constructor & Destructor Documentation
|
Constructor for disabled signature.
|
|
Constructor for inline text.
|
|
Constructor for text from a file or from output of a command.
|
Member Function Documentation
|
Used for comparison.
|
|
|
|
|
|
Set the signature text and mark this signature as being of "inline text" type.
|
|
Set the signature URL and mark this signature as being of "from file" resp. "from output of command" type. |
|
the type of signature (ie. way to obtain the signature text)
|
The documentation for this class was generated from the following files:
- identity.h
- identity.cpp