summaryrefslogtreecommitdiffstats
path: root/klipper/historyurlitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /klipper/historyurlitem.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klipper/historyurlitem.cpp')
-rw-r--r--klipper/historyurlitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/klipper/historyurlitem.cpp b/klipper/historyurlitem.cpp
index 3e85a17c3..863a93fb8 100644
--- a/klipper/historyurlitem.cpp
+++ b/klipper/historyurlitem.cpp
@@ -22,28 +22,28 @@
#include <kmultipledrag.h>
#include <kurldrag.h>
-HistoryURLItem::HistoryURLItem( const KURL::List &_urls, QMap<QString, QString> _metaData, bool _cut )
+HistoryURLItem::HistoryURLItem( const KURL::List &_urls, TQMap<TQString, TQString> _metaData, bool _cut )
: urls( _urls ), metaData( _metaData ), cut( _cut )
{
}
/* virtual */
-void HistoryURLItem::write( QDataStream& stream ) const
+void HistoryURLItem::write( TQDataStream& stream ) const
{
- stream << QString( "url" ) << urls << metaData << (int)cut;
+ stream << TQString( "url" ) << urls << metaData << (int)cut;
}
-QString HistoryURLItem::text() const {
+TQString HistoryURLItem::text() const {
return urls.toStringList().join( " " );
}
-QMimeSource* HistoryURLItem::mimeSource() const {
+TQMimeSource* HistoryURLItem::mimeSource() const {
KMultipleDrag* drag = new KMultipleDrag;
drag->addDragObject( new KURLDrag( urls, metaData ));
// from KonqDrag (libkonq)
- QStoredDrag* cutdrag = new QStoredDrag( "application/x-kde-cutselection" );
- QByteArray a;
- QCString s ( cut ? "1" : "0" );
+ TQStoredDrag* cutdrag = new TQStoredDrag( "application/x-kde-cutselection" );
+ TQByteArray a;
+ TQCString s ( cut ? "1" : "0" );
a.resize( s.length() + 1 ); // trailing zero
memcpy( a.data(), s.data(), s.length() + 1 );
cutdrag->setEncodedData( a );