summaryrefslogtreecommitdiffstats
path: root/kmail/templatesinsertcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/templatesinsertcommand.cpp')
-rw-r--r--kmail/templatesinsertcommand.cpp140
1 files changed, 70 insertions, 70 deletions
diff --git a/kmail/templatesinsertcommand.cpp b/kmail/templatesinsertcommand.cpp
index f084be379..41a0cb0eb 100644
--- a/kmail/templatesinsertcommand.cpp
+++ b/kmail/templatesinsertcommand.cpp
@@ -38,282 +38,282 @@ TemplatesInsertCommand::TemplatesInsertCommand( TQWidget *parent,
connect( this, TQT_SIGNAL( clicked() ),
this, TQT_SLOT( slotClicked() ) );
- KAction *action;
- KActionMenu *menu;
+ TDEAction *action;
+ TDEActionMenu *menu;
TQSignalMapper *mapper = new TQSignalMapper( TQT_TQOBJECT(this) );
connect( mapper, TQT_SIGNAL( mapped(int) ),
this, TQT_SLOT( slotMapped(int) ) );
- mMenu = new KActionMenu( i18n( "Insert Command..." ), TQT_TQOBJECT(this) );
+ mMenu = new TDEActionMenu( i18n( "Insert Command..." ), TQT_TQOBJECT(this) );
// ******************************************************
- menu = new KActionMenu( i18n( "Original Message" ), mMenu );
+ menu = new TDEActionMenu( i18n( "Original Message" ), mMenu );
mMenu->insert( menu );
- action = new KAction( i18n("Quoted Message"),
+ action = new TDEAction( i18n("Quoted Message"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CQuote );
menu->insert( action );
- action = new KAction( i18n("Message Text as Is"),
+ action = new TDEAction( i18n("Message Text as Is"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CText );
menu->insert( action );
- action = new KAction( i18n("Message Id"),
+ action = new TDEAction( i18n("Message Id"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COMsgId );
menu->insert( action );
- action = new KAction( i18n("Date"),
+ action = new TDEAction( i18n("Date"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CODate );
menu->insert( action );
- action = new KAction( i18n("Date in Short Format"),
+ action = new TDEAction( i18n("Date in Short Format"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CODateShort );
menu->insert( action );
- action = new KAction( i18n("Date in C Locale"),
+ action = new TDEAction( i18n("Date in C Locale"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CODateEn );
menu->insert( action );
- action = new KAction( i18n("Day of Week"),
+ action = new TDEAction( i18n("Day of Week"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CODow );
menu->insert( action );
- action = new KAction( i18n("Time"),
+ action = new TDEAction( i18n("Time"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COTime );
menu->insert( action );
- action = new KAction( i18n("Time in Long Format"),
+ action = new TDEAction( i18n("Time in Long Format"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COTimeLong );
menu->insert( action );
- action = new KAction( i18n("Time in C Locale"),
+ action = new TDEAction( i18n("Time in C Locale"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COTimeLongEn );
menu->insert( action );
- action = new KAction( i18n("To Field Address"),
+ action = new TDEAction( i18n("To Field Address"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COToAddr );
menu->insert( action );
- action = new KAction( i18n("To Field Name"),
+ action = new TDEAction( i18n("To Field Name"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COToName );
menu->insert( action );
- action = new KAction( i18n("To Field First Name"),
+ action = new TDEAction( i18n("To Field First Name"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COToFName );
menu->insert( action );
- action = new KAction( i18n("To Field Last Name"),
+ action = new TDEAction( i18n("To Field Last Name"),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COToLName );
menu->insert( action );
- action = new KAction( i18n( "CC Field Address" ),
+ action = new TDEAction( i18n( "CC Field Address" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COCCAddr );
menu->insert( action );
- action = new KAction( i18n( "CC Field Name" ),
+ action = new TDEAction( i18n( "CC Field Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COCCName );
menu->insert( action );
- action = new KAction( i18n( "CC Field First Name" ),
+ action = new TDEAction( i18n( "CC Field First Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COCCFName );
menu->insert( action );
- action = new KAction( i18n( "CC Field Last Name" ),
+ action = new TDEAction( i18n( "CC Field Last Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COCCLName );
menu->insert( action );
- action = new KAction( i18n( "From Field Address" ),
+ action = new TDEAction( i18n( "From Field Address" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COFromAddr );
menu->insert( action );
- action = new KAction( i18n( "From Field Name" ),
+ action = new TDEAction( i18n( "From Field Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COFromName );
menu->insert( action );
- action = new KAction( i18n( "From Field First Name" ),
+ action = new TDEAction( i18n( "From Field First Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COFromFName );
menu->insert( action );
- action = new KAction( i18n( "From Field Last Name" ),
+ action = new TDEAction( i18n( "From Field Last Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COFromLName );
menu->insert( action );
- action = new KAction( i18n( "Addresses of all original recipients" ),
+ action = new TDEAction( i18n( "Addresses of all original recipients" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COAddresseesAddr );
- action = new KAction( i18n( "Subject" ),
+ action = new TDEAction( i18n( "Subject" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COFullSubject );
menu->insert( action );
- action = new KAction( i18n( "Quoted Headers" ),
+ action = new TDEAction( i18n( "Quoted Headers" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CTQHeaders );
menu->insert( action );
- action = new KAction( i18n( "Headers as Is" ),
+ action = new TDEAction( i18n( "Headers as Is" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CHeaders );
menu->insert( action );
- action = new KAction( i18n( "Header Content" ),
+ action = new TDEAction( i18n( "Header Content" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, COHeader );
menu->insert( action );
// ******************************************************
- menu = new KActionMenu( i18n( "Current Message" ), mMenu );
+ menu = new TDEActionMenu( i18n( "Current Message" ), mMenu );
mMenu->insert( menu );
- action = new KAction( i18n( "Message Id" ),
+ action = new TDEAction( i18n( "Message Id" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CMsgId );
menu->insert( action );
- action = new KAction( i18n( "Date" ),
+ action = new TDEAction( i18n( "Date" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CDate );
menu->insert( action );
- action = new KAction( i18n( "Date in Short Format" ),
+ action = new TDEAction( i18n( "Date in Short Format" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CDateShort );
menu->insert( action );
- action = new KAction( i18n( "Date in C Locale" ),
+ action = new TDEAction( i18n( "Date in C Locale" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CDateEn );
menu->insert( action );
- action = new KAction( i18n( "Day of Week" ),
+ action = new TDEAction( i18n( "Day of Week" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CDow );
menu->insert( action );
- action = new KAction( i18n( "Time" ),
+ action = new TDEAction( i18n( "Time" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CTime );
menu->insert( action );
- action = new KAction( i18n( "Time in Long Format" ),
+ action = new TDEAction( i18n( "Time in Long Format" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CTimeLong );
menu->insert( action );
- action = new KAction( i18n( "Time in C Locale" ),
+ action = new TDEAction( i18n( "Time in C Locale" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CTimeLongEn );
menu->insert( action );
- action = new KAction( i18n( "To Field Address" ),
+ action = new TDEAction( i18n( "To Field Address" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CToAddr );
menu->insert( action );
- action = new KAction( i18n( "To Field Name" ),
+ action = new TDEAction( i18n( "To Field Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CToName );
menu->insert( action );
- action = new KAction( i18n( "To Field First Name" ),
+ action = new TDEAction( i18n( "To Field First Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CToFName );
menu->insert( action );
- action = new KAction( i18n( "To Field Last Name" ),
+ action = new TDEAction( i18n( "To Field Last Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CToLName );
menu->insert( action );
- action = new KAction( i18n( "CC Field Address" ),
+ action = new TDEAction( i18n( "CC Field Address" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CCCAddr );
menu->insert( action );
- action = new KAction( i18n( "CC Field Name" ),
+ action = new TDEAction( i18n( "CC Field Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CCCName );
menu->insert( action );
- action = new KAction( i18n( "CC Field First Name" ),
+ action = new TDEAction( i18n( "CC Field First Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CCCFName );
menu->insert( action );
- action = new KAction( i18n( "CC Field Last Name" ),
+ action = new TDEAction( i18n( "CC Field Last Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CCCLName );
menu->insert( action );
- action = new KAction( i18n( "From Field Address" ),
+ action = new TDEAction( i18n( "From Field Address" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CFromAddr );
menu->insert( action );
- action = new KAction( i18n( "From Field Name" ),
+ action = new TDEAction( i18n( "From Field Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CFromName );
menu->insert( action );
- action = new KAction( i18n( "From Field First Name" ),
+ action = new TDEAction( i18n( "From Field First Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CFromFName );
menu->insert( action );
- action = new KAction( i18n( "From Field Last Name" ),
+ action = new TDEAction( i18n( "From Field Last Name" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CFromLName );
menu->insert( action );
- action = new KAction( i18n( "Subject" ),
+ action = new TDEAction( i18n( "Subject" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CFullSubject );
menu->insert( action );
- action = new KAction( i18n( "Header Content" ),
+ action = new TDEAction( i18n( "Header Content" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CHeader );
menu->insert( action );
// ******************************************************
- menu = new KActionMenu( i18n( "Process With External Programs" ), mMenu );
+ menu = new TDEActionMenu( i18n( "Process With External Programs" ), mMenu );
mMenu->insert( menu );
- action = new KAction( i18n( "Insert Result of Command" ),
+ action = new TDEAction( i18n( "Insert Result of Command" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CSystem );
menu->insert( action );
- action = new KAction( i18n( "Pipe Original Message Body and Insert Result as Quoted Text" ),
+ action = new TDEAction( i18n( "Pipe Original Message Body and Insert Result as Quoted Text" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CQuotePipe );
menu->insert( action );
- action = new KAction( i18n( "Pipe Original Message Body and Insert Result as Is" ),
+ action = new TDEAction( i18n( "Pipe Original Message Body and Insert Result as Is" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CTextPipe );
menu->insert( action );
- action = new KAction( i18n( "Pipe Original Message with Headers and Insert Result as Is" ),
+ action = new TDEAction( i18n( "Pipe Original Message with Headers and Insert Result as Is" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CMsgPipe );
menu->insert( action );
- action = new KAction( i18n( "Pipe Current Message Body and Insert Result as Is" ),
+ action = new TDEAction( i18n( "Pipe Current Message Body and Insert Result as Is" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CBodyPipe );
menu->insert( action );
- action = new KAction( i18n( "Pipe Current Message Body and Replace with Result" ),
+ action = new TDEAction( i18n( "Pipe Current Message Body and Replace with Result" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CClearPipe );
menu->insert( action );
// ******************************************************
- menu = new KActionMenu( i18n( "Miscellaneous" ), mMenu );
+ menu = new TDEActionMenu( i18n( "Miscellaneous" ), mMenu );
mMenu->insert( menu );
- action = new KAction( i18n( "Set Cursor Position" ),
+ action = new TDEAction( i18n( "Set Cursor Position" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CCursor );
menu->insert( action );
- action = new KAction( i18n( "Insert File Content" ),
+ action = new TDEAction( i18n( "Insert File Content" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CInsert );
menu->insert( action );
- action = new KAction( i18n( "DNL" ),
+ action = new TDEAction( i18n( "DNL" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CDnl );
menu->insert( action );
- action = new KAction( i18n( "Template Comment" ),
+ action = new TDEAction( i18n( "Template Comment" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CRem );
menu->insert( action );
- action = new KAction( i18n( "No Operation" ),
+ action = new TDEAction( i18n( "No Operation" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CNop );
menu->insert( action );
- action = new KAction( i18n( "Clear Generated Message" ),
+ action = new TDEAction( i18n( "Clear Generated Message" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CClear );
menu->insert( action );
- action = new KAction( i18n( "Turn Debug On" ),
+ action = new TDEAction( i18n( "Turn Debug On" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CDebug );
menu->insert( action );
- action = new KAction( i18n( "Turn Debug Off" ),
+ action = new TDEAction( i18n( "Turn Debug Off" ),
0, mapper, TQT_SLOT( map() ), menu );
mapper->setMapping( action, CDebugOff );
menu->insert( action );