summaryrefslogtreecommitdiffstats
path: root/src/k3bdiroperator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:59:16 -0600
commit08e6e3d01bc56d3b55c1512164f48d3db762bd53 (patch)
tree5280c4cb6c471a7f2d79e42246fdcda85cc4adfe /src/k3bdiroperator.cpp
parentf3e58cb8bdc777ffad67ac52847bb63c27e7e436 (diff)
downloadk3b-08e6e3d01bc56d3b55c1512164f48d3db762bd53.tar.gz
k3b-08e6e3d01bc56d3b55c1512164f48d3db762bd53.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/k3bdiroperator.cpp')
-rw-r--r--src/k3bdiroperator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/k3bdiroperator.cpp b/src/k3bdiroperator.cpp
index acf42dc..16893ff 100644
--- a/src/k3bdiroperator.cpp
+++ b/src/k3bdiroperator.cpp
@@ -39,7 +39,7 @@ K3bDirOperator::K3bDirOperator(const KURL& url, TQWidget* parent, const char* na
// disable the del-key since we still have a focus problem and users keep
// deleting files when they want to remove project entries
- KAction* aDelete = actionCollection()->action("delete");
+ TDEAction* aDelete = actionCollection()->action("delete");
if( aDelete )
aDelete->setShortcut( 0 );
@@ -49,10 +49,10 @@ K3bDirOperator::K3bDirOperator(const KURL& url, TQWidget* parent, const char* na
bmMan->setUpdate( true );
bmMan->setShowNSBookmarks( false );
- m_bmPopup = new KActionMenu( i18n("Bookmarks"), "bookmark", TQT_TQOBJECT(this), "bookmarks" );
+ m_bmPopup = new TDEActionMenu( i18n("Bookmarks"), "bookmark", TQT_TQOBJECT(this), "bookmarks" );
m_bmMenu = new KBookmarkMenu( bmMan, this, m_bmPopup->popupMenu(), actionCollection(), true );
- (void)new KAction( i18n("&Add to Project"), SHIFT+Key_Return,
+ (void)new TDEAction( i18n("&Add to Project"), SHIFT+Key_Return,
TQT_TQOBJECT(this), TQT_SLOT(slotAddFilesToProject()),
actionCollection(), "add_file_to_project");
}
@@ -130,12 +130,12 @@ void K3bDirOperator::activatedMenu( const KFileItem*, const TQPoint& pos )
updateSelectionDependentActions();
// insert our own actions
- KActionMenu* dirOpMenu = (KActionMenu*)actionCollection()->action("popupMenu");
- dirOpMenu->insert( new KActionSeparator( actionCollection() ) );
+ TDEActionMenu* dirOpMenu = (TDEActionMenu*)actionCollection()->action("popupMenu");
+ dirOpMenu->insert( new TDEActionSeparator( actionCollection() ) );
dirOpMenu->insert( m_bmPopup );
dirOpMenu->insert( actionCollection()->action("add_file_to_project"), 0 );
- dirOpMenu->insert( new KActionSeparator( actionCollection() ), 1 );
+ dirOpMenu->insert( new TDEActionSeparator( actionCollection() ), 1 );
bool hasSelection = view() && view()->selectedItems() &&
!view()->selectedItems()->isEmpty();