summaryrefslogtreecommitdiffstats
path: root/src/app/historyAction.h
diff options
context:
space:
mode:
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 );