summaryrefslogtreecommitdiffstats
path: root/lib/widgets/klistviewaction.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/klistviewaction.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/klistviewaction.cpp')
-rw-r--r--lib/widgets/klistviewaction.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/widgets/klistviewaction.cpp b/lib/widgets/klistviewaction.cpp
index 23bc653b..0a219da5 100644
--- a/lib/widgets/klistviewaction.cpp
+++ b/lib/widgets/klistviewaction.cpp
@@ -20,8 +20,8 @@
#include "kcomboview.h"
#include "resizablecombo.h"
-#include <qtooltip.h>
-#include <qwhatsthis.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
#include <kconfig.h>
#include <kglobal.h>
@@ -37,8 +37,8 @@ KListViewAction::~KListViewAction()
delete m_view;
}
-KListViewAction::KListViewAction(KComboView *view, const QString & text, const KShortcut & cut,
- const QObject * receiver, const char * slot, KActionCollection * parent, const char * name ):
+KListViewAction::KListViewAction(KComboView *view, const TQString & text, const KShortcut & cut,
+ const TQObject * receiver, const char * slot, KActionCollection * 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 QString & text, const K
loadComboWidth();
}
-KListViewAction::KListViewAction( KComboView * view, const QString & text, const KShortcut & cut,
- const QObject * receiver, const char * slot, KActionCollection * parent, const char * name, const bool /*dummy*/ ):
+KListViewAction::KListViewAction( KComboView * view, const TQString & text, const KShortcut & cut,
+ const TQObject * receiver, const char * slot, KActionCollection * parent, const char * name, const bool /*dummy*/ ):
KWidgetAction(new ResizableCombo(view), text, cut, receiver, slot, parent, name), m_view(view)
{
m_view->setDuplicatesEnabled(false);
@@ -62,16 +62,16 @@ KComboView * KListViewAction::view( ) const
return m_view;
}
-void KListViewAction::setToolTip( const QString & str )
+void KListViewAction::setToolTip( const TQString & str )
{
- QToolTip::remove(m_view);
- QToolTip::add(m_view, str);
+ TQToolTip::remove(m_view);
+ TQToolTip::add(m_view, str);
}
-void KListViewAction::setWhatsThis( const QString & str )
+void KListViewAction::setWhatsThis( const TQString & str )
{
- QWhatsThis::remove(m_view);
- QWhatsThis::add(m_view, str);
+ TQWhatsThis::remove(m_view);
+ TQWhatsThis::add(m_view, str);
}
void KListViewAction::loadComboWidth( )