summaryrefslogtreecommitdiffstats
path: root/lib/widgets/klistviewaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/klistviewaction.cpp')
-rw-r--r--lib/widgets/klistviewaction.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/widgets/klistviewaction.cpp b/lib/widgets/klistviewaction.cpp
index 631ad9d1..2d687027 100644
--- a/lib/widgets/klistviewaction.cpp
+++ b/lib/widgets/klistviewaction.cpp
@@ -26,19 +26,19 @@
#include <tdeconfig.h>
#include <kglobal.h>
-KListViewAction::~KListViewAction()
+TDEListViewAction::~TDEListViewAction()
{
TDEConfig *config = TDEGlobal::config();
if (config && m_view->name())
{
- config->setGroup("KListViewAction");
+ config->setGroup("TDEListViewAction");
config->writeEntry(m_view->name(), m_view->width());
}
delete m_view;
}
-KListViewAction::KListViewAction(KComboView *view, const TQString & text, const KShortcut & cut,
- const TQObject * receiver, const char * slot, KActionCollection * parent, const char * name ):
+TDEListViewAction::TDEListViewAction(KComboView *view, const TQString & text, const TDEShortcut & cut,
+ const TQObject * receiver, const char * slot, TDEActionCollection * parent, const char * name ):
KWidgetAction(view, text, cut, receiver, slot, parent, name), m_view(view)
{
m_view->setDuplicatesEnabled(false);
@@ -47,8 +47,8 @@ KListViewAction::KListViewAction(KComboView *view, const TQString & text, const
loadComboWidth();
}
-KListViewAction::KListViewAction( KComboView * view, const TQString & text, const KShortcut & cut,
- const TQObject * receiver, const char * slot, KActionCollection * parent, const char * name, const bool /*dummy*/ ):
+TDEListViewAction::TDEListViewAction( KComboView * view, const TQString & text, const TDEShortcut & cut,
+ const TQObject * receiver, const char * slot, TDEActionCollection * parent, const char * name, const bool /*dummy*/ ):
KWidgetAction(new ResizableCombo(view), text, cut, receiver, slot, parent, name), m_view(view)
{
m_view->setDuplicatesEnabled(false);
@@ -57,29 +57,29 @@ KListViewAction::KListViewAction( KComboView * view, const TQString & text, cons
loadComboWidth();
}
-KComboView * KListViewAction::view( ) const
+KComboView * TDEListViewAction::view( ) const
{
return m_view;
}
-void KListViewAction::setToolTip( const TQString & str )
+void TDEListViewAction::setToolTip( const TQString & str )
{
TQToolTip::remove(m_view);
TQToolTip::add(m_view, str);
}
-void KListViewAction::setWhatsThis( const TQString & str )
+void TDEListViewAction::setWhatsThis( const TQString & str )
{
TQWhatsThis::remove(m_view);
TQWhatsThis::add(m_view, str);
}
-void KListViewAction::loadComboWidth( )
+void TDEListViewAction::loadComboWidth( )
{
TDEConfig *config = TDEGlobal::config();
if (config && m_view->name())
{
- config->setGroup("KListViewAction");
+ config->setGroup("TDEListViewAction");
m_view->setMinimumWidth(config->readNumEntry(m_view->name(), m_view->defaultWidth()));
}
}