diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 14:58:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 14:58:51 -0600 |
commit | 1d88613b6be64c0b6588952dd1f81396168be44b (patch) | |
tree | 5882f9217c6940b723d6997f2da52d1d7eccb380 /src/app/historyAction.cpp | |
parent | 401bc51c194b27be9ffaad75a85bf3209c26891b (diff) | |
download | filelight-1d88613b6be64c0b6588952dd1f81396168be44b.tar.gz filelight-1d88613b6be64c0b6588952dd1f81396168be44b.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/app/historyAction.cpp')
-rw-r--r-- | src/app/historyAction.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/app/historyAction.cpp b/src/app/historyAction.cpp index 4b47721..5bb1309 100644 --- a/src/app/historyAction.cpp +++ b/src/app/historyAction.cpp @@ -9,12 +9,12 @@ inline -HistoryAction::HistoryAction( const TQString &text, const char *icon, const KShortcut &cut, KActionCollection *ac, const char *name ) - : KAction( text, icon, cut, 0, 0, ac, name ) +HistoryAction::HistoryAction( const TQString &text, const char *icon, const TDEShortcut &cut, TDEActionCollection *ac, const char *name ) + : TDEAction( text, icon, cut, 0, 0, ac, name ) , m_text( text ) { // ui files make this false, but we can't rely on UI file as it isn't compiled in :( - KAction::setEnabled( false ); + TDEAction::setEnabled( false ); } void @@ -24,7 +24,7 @@ HistoryAction::push( const TQString &path ) { m_list.append( path ); setActionMenuTextOnly( this, path ); - KAction::setEnabled( true ); + TDEAction::setEnabled( true ); } } @@ -40,10 +40,10 @@ HistoryAction::pop() -HistoryCollection::HistoryCollection( KActionCollection *ac, TQObject *parent, const char *name ) +HistoryCollection::HistoryCollection( TDEActionCollection *ac, TQObject *parent, const char *name ) : TQObject( parent, name ) - , m_b( new HistoryAction( i18n( "Back" ), "back", KStdAccel::back(), ac, "go_back" ) ) - , m_f( new HistoryAction( i18n( "Forward" ), "forward", KStdAccel::forward(), ac, "go_forward" ) ) + , m_b( new HistoryAction( i18n( "Back" ), "back", TDEStdAccel::back(), ac, "go_back" ) ) + , m_f( new HistoryAction( i18n( "Forward" ), "forward", TDEStdAccel::forward(), ac, "go_forward" ) ) , m_receiver( 0 ) { connect( m_b, TQT_SIGNAL(activated()), TQT_SLOT(pop()) ); |