diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:59:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:59:02 -0600 |
commit | 5920e96087707ba892650898521dac63152274f9 (patch) | |
tree | f8c9eba82d742338798e31b9edb7d90aa9c55ce9 /src/app/history.cpp | |
parent | 50ccc22eb9b1f32c842956f0207baaf7da8f0f6f (diff) | |
download | gwenview-5920e96087707ba892650898521dac63152274f9.tar.gz gwenview-5920e96087707ba892650898521dac63152274f9.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/app/history.cpp')
-rw-r--r-- | src/app/history.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/history.cpp b/src/app/history.cpp index 74a2a3a..4105856 100644 --- a/src/app/history.cpp +++ b/src/app/history.cpp @@ -35,17 +35,17 @@ namespace Gwenview { const unsigned int MAX_HISTORY_SIZE=12; -History::History(KActionCollection* actionCollection) { +History::History(TDEActionCollection* actionCollection) { mPosition=mHistoryList.end(); mMovingInHistory=false; // Actions TQPair<KGuiItem, KGuiItem> backForward = KStdGuiItem::backAndForward(); - mGoBack=new KToolBarPopupAction(backForward.first, - KStdAccel::shortcut(KStdAccel::Back), + mGoBack=new TDEToolBarPopupAction(backForward.first, + TDEStdAccel::shortcut(TDEStdAccel::Back), this, TQT_SLOT(goBack()), actionCollection, "go_back"); - mGoForward=new KToolBarPopupAction(backForward.second, - KStdAccel::shortcut(KStdAccel::Forward), + mGoForward=new TDEToolBarPopupAction(backForward.second, + TDEStdAccel::shortcut(TDEStdAccel::Forward), this, TQT_SLOT(goForward()), actionCollection, "go_forward"); // Connections |