23 #ifndef TEMPLATESCONFIGURATION_H
24 #define TEMPLATESCONFIGURATION_H
26 #include "templatesconfiguration_base.h"
27 #include "templatesinsertcommand.h"
29 class TemplatesConfiguration : public TemplatesConfigurationBase
36 TemplatesConfiguration( TQWidget *parent = 0, const char *name = 0 );
38 void loadFromGlobal();
40 void loadFromIdentity( uint id );
41 void saveToIdentity( uint id );
42 void loadFromFolder( TQString id, uint identity = 0 );
43 void saveToFolder( TQString id );
46 void loadFromPhrases();
49 static void importFromPhrases();
52 static TQString convertPhrases( TQString &str );
54 static TQString defaultNewMessage();
55 static TQString defaultReply();
56 static TQString defaultReplyAll();
57 static TQString defaultForward();
58 static TQString defaultQuoteString();
62 void slotInsertCommand( TQString cmd, int adjustCursor = 0 );
64 void slotTextChanged();
72 TQString strOrBlank( TQString str );
|