diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:05 -0600 |
commit | 74a2067d286867e313f736d6733407586b71195e (patch) | |
tree | 182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/kuick/kmetamenu.cpp | |
parent | 081670a12774435ae60cf8eba9226b91d27852b3 (diff) | |
download | tdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/kuick/kmetamenu.cpp')
-rw-r--r-- | konq-plugins/kuick/kmetamenu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/kuick/kmetamenu.cpp b/konq-plugins/kuick/kmetamenu.cpp index 7ba7a87..9309a74 100644 --- a/konq-plugins/kuick/kmetamenu.cpp +++ b/konq-plugins/kuick/kmetamenu.cpp @@ -111,7 +111,7 @@ KMetaMenu::KMetaMenu( TQWidget *parent, const KURL &url, } - m_browse = new KAction(i18n("&Browse..."), 0, TQT_TQOBJECT(this), TQT_SLOT(slotBrowse()), TQT_TQOBJECT(this) ); + m_browse = new TDEAction(i18n("&Browse..."), 0, TQT_TQOBJECT(this), TQT_SLOT(slotBrowse()), TQT_TQOBJECT(this) ); m_browse->plug(this); // read the last chosen dirs // first set the group according to our parameter @@ -133,7 +133,7 @@ KMetaMenu::KMetaMenu( TQWidget *parent, const KURL &url, continue; } TQString escapedDir = *it; - KAction *action = new KAction(escapedDir.replace("&", "&&"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotFastPath()), TQT_TQOBJECT(this)); + TDEAction *action = new TDEAction(escapedDir.replace("&", "&&"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotFastPath()), TQT_TQOBJECT(this)); action->plug(this ); actions.append( action ); ++it; @@ -158,8 +158,8 @@ void KMetaMenu::slotFileChosen(const TQString &path ){ } void KMetaMenu::slotFastPath( ) { - KAction *action; - action = (KAction*) sender(); + TDEAction *action; + action = (TDEAction*) sender(); TQString text = action->plainText( ); slotFileChosen( text ); } |