summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/sidebar/metabar/src/protocolplugin.cpp')
-rw-r--r--konq-plugins/sidebar/metabar/src/protocolplugin.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/sidebar/metabar/src/protocolplugin.cpp b/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
index ad8f2e5..99f5b31 100644
--- a/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
+++ b/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
@@ -20,7 +20,7 @@
#include "protocolplugin.h"
-#include <qbuffer.h>
+#include <tqbuffer.h>
#include <kimageio.h>
#include <kmdcodec.h>
@@ -32,7 +32,7 @@
ProtocolPlugin* ProtocolPlugin::activePlugin = 0;
-ProtocolPlugin::ProtocolPlugin(KHTMLPart *html, MetabarFunctions *functions, const char* name) : QObject(html, name), m_html(html), m_functions(functions)
+ProtocolPlugin::ProtocolPlugin(KHTMLPart *html, MetabarFunctions *functions, const char* name) : TQObject(html, name), m_html(html), m_functions(functions)
{
}
@@ -59,7 +59,7 @@ void ProtocolPlugin::setFileItems(const KFileItemList &items)
DOM::HTMLElement size = doc.getElementById("size");
if(!icon.isNull()){
- QPixmap pix;
+ TQPixmap pix;
if(m_items.count() == 1){
pix = m_items.getFirst()->pixmap(KIcon::SizeLarge);
}
@@ -67,11 +67,11 @@ void ProtocolPlugin::setFileItems(const KFileItemList &items)
pix = DesktopIcon("kmultiple", KIcon::SizeLarge);
}
- QByteArray data;
- QBuffer buffer(data);
+ TQByteArray data;
+ TQBuffer buffer(data);
buffer.open(IO_WriteOnly);
pix.save(&buffer, "PNG");
- QString icondata = QString::fromLatin1("data:image/png;base64,%1").arg(KCodecs::base64Encode(data));
+ TQString icondata = TQString::fromLatin1("data:image/png;base64,%1").arg(KCodecs::base64Encode(data));
icon.setSrc(icondata);
}