summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/command.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kugar/kudesigner_lib/command.cpp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kugar/kudesigner_lib/command.cpp')
-rw-r--r--kugar/kudesigner_lib/command.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kugar/kudesigner_lib/command.cpp b/kugar/kudesigner_lib/command.cpp
index 1644868a..e65f9f71 100644
--- a/kugar/kudesigner_lib/command.cpp
+++ b/kugar/kudesigner_lib/command.cpp
@@ -51,7 +51,7 @@ namespace Kudesigner
//AddDetailFooterCommand
AddDetailFooterCommand::AddDetailFooterCommand( int level, Canvas *doc )
- : KNamedCommand( QObject::tr( "Insert Detail Footer Section" ) ), m_level( level ), m_doc( doc )
+ : KNamedCommand( TQObject::tr( "Insert Detail Footer Section" ) ), m_level( level ), m_doc( doc )
{}
void AddDetailFooterCommand::execute()
@@ -75,7 +75,7 @@ void AddDetailFooterCommand::unexecute()
//AddDetailCommand
AddDetailCommand::AddDetailCommand( int level, Canvas *doc )
- : KNamedCommand( QObject::tr( "Insert Detail Section" ) ), m_level( level ), m_doc( doc )
+ : KNamedCommand( TQObject::tr( "Insert Detail Section" ) ), m_level( level ), m_doc( doc )
{}
void AddDetailCommand::execute()
@@ -99,7 +99,7 @@ void AddDetailCommand::unexecute()
//AddDetailHeaderCommand
AddDetailHeaderCommand::AddDetailHeaderCommand( int level, Canvas *doc )
- : KNamedCommand( QObject::tr( "Insert Detail Header Section" ) ), m_level( level ), m_doc( doc )
+ : KNamedCommand( TQObject::tr( "Insert Detail Header Section" ) ), m_level( level ), m_doc( doc )
{}
void AddDetailHeaderCommand::execute()
@@ -123,7 +123,7 @@ void AddDetailHeaderCommand::unexecute()
//AddPageFooterCommand
AddPageFooterCommand::AddPageFooterCommand( Canvas *doc )
- : KNamedCommand( QObject::tr( "Insert Page Footer Section" ) ), m_doc( doc )
+ : KNamedCommand( TQObject::tr( "Insert Page Footer Section" ) ), m_doc( doc )
{}
void AddPageFooterCommand::execute()
@@ -146,7 +146,7 @@ void AddPageFooterCommand::unexecute()
//AddPageHeaderCommand
AddPageHeaderCommand::AddPageHeaderCommand( Canvas *doc )
- : KNamedCommand( QObject::tr( "Insert Page Header Section" ) ), m_doc( doc )
+ : KNamedCommand( TQObject::tr( "Insert Page Header Section" ) ), m_doc( doc )
{}
void AddPageHeaderCommand::execute()
@@ -169,7 +169,7 @@ void AddPageHeaderCommand::unexecute()
//AddReportFooterCommand
AddReportFooterCommand::AddReportFooterCommand( Canvas *doc )
- : KNamedCommand( QObject::tr( "Insert Report Footer Section" ) ), m_doc( doc )
+ : KNamedCommand( TQObject::tr( "Insert Report Footer Section" ) ), m_doc( doc )
{}
void AddReportFooterCommand::execute()
@@ -192,7 +192,7 @@ void AddReportFooterCommand::unexecute()
//AddReportHeaderCommand
AddReportHeaderCommand::AddReportHeaderCommand( Canvas *doc )
- : KNamedCommand( QObject::tr( "Insert Report Header Section" ) ), m_doc( doc )
+ : KNamedCommand( TQObject::tr( "Insert Report Header Section" ) ), m_doc( doc )
{}
void AddReportHeaderCommand::execute()
@@ -215,7 +215,7 @@ void AddReportHeaderCommand::unexecute()
//AddReportItemCommand
AddReportItemCommand::AddReportItemCommand( Canvas *doc, View *rc, int x, int y, RttiValues section, int sectionLevel ) :
- KNamedCommand( QObject::tr( "Insert Report Item" ) ), m_doc( doc ), m_rc( rc ), m_x( x ), m_y( y ), m_section( section ), m_sectionLevel( sectionLevel )
+ KNamedCommand( TQObject::tr( "Insert Report Item" ) ), m_doc( doc ), m_rc( rc ), m_x( x ), m_y( y ), m_section( section ), m_sectionLevel( sectionLevel )
{
m_rtti = m_rc->itemToInsert;
setName( "Insert " + Kudesigner::rttiName( m_rc->itemToInsert ) );
@@ -269,15 +269,15 @@ void AddReportItemCommand::unexecute()
}
}
-DeleteReportItemsCommand::DeleteReportItemsCommand( Canvas * doc, QValueList< Box* > & items )
- : KNamedCommand( QObject::tr( "Delete Report Item(s)" ) ), m_doc( doc ), m_items( items )
+DeleteReportItemsCommand::DeleteReportItemsCommand( Canvas * doc, TQValueList< Box* > & items )
+ : KNamedCommand( TQObject::tr( "Delete Report Item(s)" ) ), m_doc( doc ), m_items( items )
{}
void DeleteReportItemsCommand::execute( )
{
m_doc->unselectAll();
- for ( QValueList< Box* >::iterator it = m_items.begin(); it != m_items.end(); ++it )
+ for ( TQValueList< Box* >::iterator it = m_items.begin(); it != m_items.end(); ++it )
{
Box *b = *it;
m_doc->kugarTemplate() ->removeReportItem( b );