23 #ifndef TEMPLATESINSERTCOMMAND_H
24 #define TEMPLATESINSERTCOMMAND_H
26 #include <tqpushbutton.h>
30 class TemplatesInsertCommand : public TQPushButton
36 TemplatesInsertCommand( TQWidget *parent, const char *name = 0 );
37 ~TemplatesInsertCommand();
40 enum Command {CDnl = 1, CRem, CInsert, CSystem, CQuotePipe, CQuote, CTQHeaders, CHeaders,
41 CTextPipe, CMsgPipe, CBodyPipe, CClearPipe, CText,
42 CToAddr, CToName, CFromAddr, CFromName, CFullSubject, CMsgId,
43 COHeader, CHeader, COToAddr, COToName, COFromAddr, COFromName, COFullSubject,
44 COMsgId, CDateEn, CDateShort, CDate, CDow, CTimeLongEn, CTimeLong, CTime,
45 CODateEn, CODateShort, CODate, CODow, COTimeLongEn, COTimeLong, COTime,
46 CBlank, CNop, CClear, CDebug, CDebugOff, CToFName, CToLName, CFromFName, CFromLName,
47 COToFName, COToLName, COFromFName, COFromLName, CCursor,
48 CCCAddr, CCCName, CCCFName, CCCLName, COCCAddr, COCCName, COCCFName, COCCLName,
52 void insertCommand( TemplatesInsertCommand::Command cmd );
53 void insertCommand( TQString cmd, int adjustCursor = 0 );
57 void slotMapped( int cmd );
|