summaryrefslogtreecommitdiffstats
path: root/kparts/historyprovider.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kparts/historyprovider.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kparts/historyprovider.cpp')
-rw-r--r--kparts/historyprovider.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kparts/historyprovider.cpp b/kparts/historyprovider.cpp
index d55a96b66..416a109f6 100644
--- a/kparts/historyprovider.cpp
+++ b/kparts/historyprovider.cpp
@@ -17,14 +17,14 @@
Boston, MA 02110-1301, USA.
*/
-#include <qdict.h>
+#include <tqdict.h>
#include <kapplication.h>
#include "historyprovider.h"
using namespace KParts;
-template class QDict<void>;
+template class TQDict<void>;
HistoryProvider * HistoryProvider::s_self = 0L;
@@ -34,7 +34,7 @@ public:
HistoryProviderPrivate()
: dict( 1009 ) {}
- QDict<void> dict;
+ TQDict<void> dict;
};
HistoryProvider * HistoryProvider::self()
@@ -44,8 +44,8 @@ HistoryProvider * HistoryProvider::self()
return s_self;
}
-HistoryProvider::HistoryProvider( QObject *parent, const char *name )
- : QObject( parent, name )
+HistoryProvider::HistoryProvider( TQObject *parent, const char *name )
+ : TQObject( parent, name )
{
if ( !s_self )
s_self = this;
@@ -61,19 +61,19 @@ HistoryProvider::~HistoryProvider()
s_self = 0;
}
-bool HistoryProvider::contains( const QString& item ) const
+bool HistoryProvider::contains( const TQString& item ) const
{
return (bool) d->dict.find( item );
}
-void HistoryProvider::insert( const QString& item )
+void HistoryProvider::insert( const TQString& item )
{
// no need to allocate memory, we only want to have fast lookup, no mapping
d->dict.replace( item, (void*) 1 );
emit inserted( item );
}
-void HistoryProvider::remove( const QString& item )
+void HistoryProvider::remove( const TQString& item )
{
(void) d->dict.remove( item );
}