diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:04:33 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:04:33 -0600 |
commit | 9aa2a73641f4d386c9667ac946cebfabca872940 (patch) | |
tree | 9d6d443b7e100cbe48a8747207f7f2db1d42e141 /src/itemdocument.cpp | |
parent | 0f2dc8b9f38b8cbb3cd1769173a4f3ed32a7a189 (diff) | |
download | ktechlab-9aa2a73641f4d386c9667ac946cebfabca872940.tar.gz ktechlab-9aa2a73641f4d386c9667ac946cebfabca872940.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/itemdocument.cpp')
-rw-r--r-- | src/itemdocument.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/itemdocument.cpp b/src/itemdocument.cpp index 55696b2..935d101 100644 --- a/src/itemdocument.cpp +++ b/src/itemdocument.cpp @@ -81,7 +81,7 @@ ItemDocument::ItemDocument( const TQString &caption, KTechlab *ktechlab, const c connect( MechanicsSelector::self(), TQT_SIGNAL(itemClicked(const TQString& )), this, TQT_SLOT(slotUnsetRepeatedItemId()) ); #endif - m_pAlignmentAction = new KActionMenu( i18n("Alignment"), "rightjust", this ); + m_pAlignmentAction = new TDEActionMenu( i18n("Alignment"), "rightjust", this ); slotUpdateConfiguration(); } @@ -594,7 +594,7 @@ void ItemDocument::fillContextMenu( const TQPoint & pos ) if ( !p_ktechlab || !activeItemView ) return; - KAction * align_actions[] = { + TDEAction * align_actions[] = { activeItemView->action("align_horizontally"), activeItemView->action("align_vertically"), activeItemView->action("distribute_horizontally"), @@ -611,7 +611,7 @@ void ItemDocument::fillContextMenu( const TQPoint & pos ) m_pAlignmentAction->remove( align_actions[i] ); m_pAlignmentAction->insert( align_actions[i] ); } - TQPtrList<KAction> alignment_actions; + TQPtrList<TDEAction> alignment_actions; alignment_actions.append( m_pAlignmentAction ); p_ktechlab->plugActionList( "alignment_actionlist", alignment_actions ); } @@ -625,7 +625,7 @@ void ItemDocument::slotInitItemActions( Item *item ) if ( !p_ktechlab || !activeItemView ) return; - KAction * align_actions[] = { + TDEAction * align_actions[] = { activeItemView->action("align_horizontally"), activeItemView->action("align_vertically"), activeItemView->action("distribute_horizontally"), |