#include <identity.h>
|
enum | Type { Disabled = 0
, Inlined = 1
, FromFile = 2
, FromCommand = 3
} |
|
|
class | Identity |
|
TQDataStream & | KPIM::operator<< (TQDataStream &stream, const Signature &sig) |
|
TQDataStream & | KPIM::operator>> (TQDataStream &stream, Signature &sig) |
|
abstraction of a signature (aka "footer").
- Author
- Marc Mutz mutz@.nosp@m.kde..nosp@m.org
Definition at line 39 of file identity.h.
◆ Type
Type of signature (ie.
way to obtain the signature text)
Definition at line 47 of file identity.h.
◆ Signature() [1/3]
Constructor for disabled signature.
Definition at line 30 of file identity.cpp.
◆ Signature() [2/3]
Signature::Signature |
( |
const TQString & |
text | ) |
|
Constructor for inline text.
Definition at line 36 of file identity.cpp.
◆ Signature() [3/3]
Signature::Signature |
( |
const TQString & |
url, |
|
|
bool |
isExecutable |
|
) |
| |
Constructor for text from a file or from output of a command.
Definition at line 43 of file identity.cpp.
◆ operator==()
bool Signature::operator== |
( |
const Signature & |
other | ) |
const |
◆ rawText()
TQString Signature::rawText |
( |
bool * |
ok = 0 | ) |
const |
- Returns
- the raw signature text as entered resp. read from file.
Definition at line 60 of file identity.cpp.
◆ readConfig()
void Signature::readConfig |
( |
const TDEConfigBase * |
config | ) |
|
|
protected |
◆ setText()
void KPIM::Signature::setText |
( |
const TQString & |
text | ) |
|
|
inline |
Set the signature text and mark this signature as being of "inline text" type.
Definition at line 68 of file identity.h.
◆ setType()
void KPIM::Signature::setType |
( |
Type |
type | ) |
|
|
inline |
◆ setUrl()
void Signature::setUrl |
( |
const TQString & |
url, |
|
|
bool |
isExecutable = false |
|
) |
| |
Set the signature URL and mark this signature as being of "from file" resp.
"from output of command" type.
Definition at line 158 of file identity.cpp.
◆ text()
TQString KPIM::Signature::text |
( |
| ) |
const |
|
inline |
◆ type()
Type KPIM::Signature::type |
( |
| ) |
const |
|
inline |
- Returns
- the type of signature (ie. way to obtain the signature text)
Definition at line 77 of file identity.h.
◆ url()
TQString KPIM::Signature::url |
( |
| ) |
const |
|
inline |
◆ withSeparator()
TQString Signature::withSeparator |
( |
bool * |
ok = 0 | ) |
const |
- Returns
- the signature text with a "-- " separator added, if necessary.
Definition at line 135 of file identity.cpp.
◆ writeConfig()
void Signature::writeConfig |
( |
TDEConfigBase * |
config | ) |
const |
|
protected |
◆ Identity
The documentation for this class was generated from the following files: