summaryrefslogtreecommitdiffstats
path: root/src/recentfilesaction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:33 -0600
commit9aa2a73641f4d386c9667ac946cebfabca872940 (patch)
tree9d6d443b7e100cbe48a8747207f7f2db1d42e141 /src/recentfilesaction.cpp
parent0f2dc8b9f38b8cbb3cd1769173a4f3ed32a7a189 (diff)
downloadktechlab-9aa2a73641f4d386c9667ac946cebfabca872940.tar.gz
ktechlab-9aa2a73641f4d386c9667ac946cebfabca872940.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/recentfilesaction.cpp')
-rw-r--r--src/recentfilesaction.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/recentfilesaction.cpp b/src/recentfilesaction.cpp
index 086e81d..7194038 100644
--- a/src/recentfilesaction.cpp
+++ b/src/recentfilesaction.cpp
@@ -16,12 +16,12 @@
#include <kurl.h>
RecentFilesAction::RecentFilesAction( const TQString & configGroupName, const TQString& text, const TQObject* receiver, const char* slot, TQObject* parent, const char* name )
- : KSelectAction( text, 0/*pix*/, parent, name )
+ : TDESelectAction( text, 0/*pix*/, parent, name )
{
m_configGroupName = configGroupName;
m_maxItems = 10;
- m_popup = new KPopupMenu;
+ m_popup = new TDEPopupMenu;
connect(m_popup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(menuAboutToShow()));
connect(m_popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuItemActivated(int)));
connect( this, TQT_SIGNAL( activated( const TQString& ) ),
@@ -138,7 +138,7 @@ void RecentFilesAction::menuItemActivated( int id )
void RecentFilesAction::menuAboutToShow()
{
- KPopupMenu *menu = m_popup;
+ TDEPopupMenu *menu = m_popup;
menu->clear();
TQStringList list = items();
TQStringList::iterator end = list.end();
@@ -148,18 +148,18 @@ void RecentFilesAction::menuAboutToShow()
void RecentFilesAction::slotClicked()
{
- KAction::slotActivated();
+ TDEAction::slotActivated();
}
void RecentFilesAction::slotActivated(const TQString& text)
{
- KSelectAction::slotActivated(text);
+ TDESelectAction::slotActivated(text);
}
void RecentFilesAction::slotActivated(int id)
{
- KSelectAction::slotActivated(id);
+ TDESelectAction::slotActivated(id);
}