summaryrefslogtreecommitdiffstats
path: root/style/pixmaps.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:09:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:09:18 +0000
commitd1fb90134ab8504932ee36de6157f846b50f7415 (patch)
tree191f2f1f1ed00a754687d1258d47f78e99723182 /style/pixmaps.h
parentb23b8edce7cbd48165084dbd852875afeb800735 (diff)
downloadtde-style-qtcurve-d1fb90134ab8504932ee36de6157f846b50f7415.tar.gz
tde-style-qtcurve-d1fb90134ab8504932ee36de6157f846b50f7415.zip
TQt4 port kde-style-qtcurve
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-style-qtcurve@1230744 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'style/pixmaps.h')
-rw-r--r--style/pixmaps.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/style/pixmaps.h b/style/pixmaps.h
index ff34491..9e82bdd 100644
--- a/style/pixmaps.h
+++ b/style/pixmaps.h
@@ -1,5 +1,5 @@
-#ifndef _QEMBED_1804289383
-#define _QEMBED_1804289383
+#ifndef _TQEMBED_1804289383
+#define _TQEMBED_1804289383
static const unsigned int radio_frame_png_len = 419;
static const unsigned char radio_frame_png_data[] = {
0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a,0x00,0x00,0x00,0x0d,0x49,0x48,
@@ -215,8 +215,8 @@ static const unsigned char dot_png_data[] = {
0xae,0x42,0x60,0x82
};
-#include <qcstring.h>
-#include <qdict.h>
+#include <tqcstring.h>
+#include <tqdict.h>
static struct Embed {
unsigned int size;
const unsigned char *data;
@@ -235,14 +235,14 @@ static struct Embed {
{ 0, 0, 0 }
};
-static const QByteArray& qembed_findData( const char* name )
+static const TQByteArray& qembed_findData( const char* name )
{
- static QDict<QByteArray> dict;
- QByteArray* ba = dict.find( name );
+ static TQDict<TQByteArray> dict;
+ TQByteArray* ba = dict.tqfind( name );
if ( !ba ) {
for ( int i = 0; embed_vec[i].data; i++ ) {
if ( strcmp(embed_vec[i].name, name) == 0 ) {
- ba = new QByteArray;
+ ba = new TQByteArray;
ba->setRawData( (char*)embed_vec[i].data,
embed_vec[i].size );
dict.insert( name, ba );
@@ -250,7 +250,7 @@ static const QByteArray& qembed_findData( const char* name )
}
}
if ( !ba ) {
- static QByteArray dummy;
+ static TQByteArray dummy;
return dummy;
}
}