summaryrefslogtreecommitdiffstats
path: root/src/app/historyAction.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:51 -0600
commit1d88613b6be64c0b6588952dd1f81396168be44b (patch)
tree5882f9217c6940b723d6997f2da52d1d7eccb380 /src/app/historyAction.h
parent401bc51c194b27be9ffaad75a85bf3209c26891b (diff)
downloadfilelight-1d88613b6be64c0b6588952dd1f81396168be44b.tar.gz
filelight-1d88613b6be64c0b6588952dd1f81396168be44b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/app/historyAction.h')
-rw-r--r--src/app/historyAction.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app/historyAction.h b/src/app/historyAction.h
index 1eaa1aa..350b165 100644
--- a/src/app/historyAction.h
+++ b/src/app/historyAction.h
@@ -12,19 +12,19 @@ class TDEConfig;
/// defined in mainWindow.cpp
-void setActionMenuTextOnly( KAction *a, TQString const &suffix );
+void setActionMenuTextOnly( TDEAction *a, TQString const &suffix );
-class HistoryAction : KAction
+class HistoryAction : TDEAction
{
- HistoryAction( const TQString &text, const char *icon, const KShortcut &cut, KActionCollection *ac, const char *name );
+ HistoryAction( const TQString &text, const char *icon, const TDEShortcut &cut, TDEActionCollection *ac, const char *name );
friend class HistoryCollection;
public:
- virtual void setEnabled( bool b = true ) { KAction::setEnabled( b ? !m_list.isEmpty() : false ); }
+ virtual void setEnabled( bool b = true ) { TDEAction::setEnabled( b ? !m_list.isEmpty() : false ); }
- void clear() { m_list.clear(); KAction::setText( m_text ); }
+ void clear() { m_list.clear(); TDEAction::setText( m_text ); }
private:
void setText();
@@ -43,7 +43,7 @@ Q_OBJECT
public:
- HistoryCollection( KActionCollection *ac, TQObject *parent, const char *name );
+ HistoryCollection( TDEActionCollection *ac, TQObject *parent, const char *name );
void save( TDEConfig *config );
void restore( TDEConfig *config );