From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- lib/widgets/klistviewaction.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/widgets/klistviewaction.cpp') 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 #include -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())); } } -- cgit v1.2.3