From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstyles/keramik/genembed.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kstyles/keramik/genembed.cpp') diff --git a/kstyles/keramik/genembed.cpp b/kstyles/keramik/genembed.cpp index 2fecf94d1..e47e7e6e7 100644 --- a/kstyles/keramik/genembed.cpp +++ b/kstyles/keramik/genembed.cpp @@ -146,7 +146,7 @@ int main(int argc, char** argv) int readJustID = 0; - if ((pos = s.findRev("-")) != -1) + if ((pos = s.tqfindRev("-")) != -1) { int suffix = evalSuffix(s.mid(pos)); if (suffix !=-1 ) @@ -156,16 +156,16 @@ int main(int argc, char** argv) } } - if (!assignID.contains(id)) + if (!assignID.tqcontains(id)) { assignID[id] = nextID; nextID += 256; } - s.replace("-","_"); + s.tqreplace("-","_"); - if (s.contains("button")) + if (s.tqcontains("button")) KImageEffect::contrastHSV(input); int fullID = assignID[id] + readJustID;//Subwidget.. @@ -178,7 +178,7 @@ int main(int argc, char** argv) - if (s.contains("toolbar") || s.contains("tab-top-active") || s.contains("menubar") ) + if (s.tqcontains("toolbar") || s.tqcontains("tab-top-active") || s.tqcontains("menubar") ) { // highlights = false; gamma = 1/1.25f; @@ -186,7 +186,7 @@ int main(int argc, char** argv) shadows = false; } - if (s.contains("scrollbar") && s.contains("groove")) + if (s.tqcontains("scrollbar") && s.tqcontains("groove")) { //highlights = false; //gamma = 1.5; @@ -194,7 +194,7 @@ int main(int argc, char** argv) } //brightAdj = -10; - if (s.contains("scrollbar") && s.contains("slider")) + if (s.tqcontains("scrollbar") && s.tqcontains("slider")) { //highlights = false; gamma =1/0.7f; @@ -202,7 +202,7 @@ int main(int argc, char** argv) } - if (s.contains("menuitem")) + if (s.tqcontains("menuitem")) { //highlights = false; gamma =1/0.6f; @@ -222,14 +222,14 @@ int main(int argc, char** argv) cout<<"static const unsigned char "<(input.bits() ); + TQ_UINT32* read = reinterpret_cast< TQ_UINT32* >(input.bits() ); int size = input.width()*input.height(); for (int pos=0; pos(input.bits() ); + read = reinterpret_cast< TQ_UINT32* >(input.bits() ); for (int pos=0; pos0 || v > 128) { //Non-shadow @@ -296,8 +296,8 @@ int main(int argc, char** argv) if (reallySolid) cout<::iterator i = assignID.begin(); i != assignID.end(); ++i) { TQString name = "keramik_"+i.key(); - name.replace("-","_"); + name.tqreplace("-","_"); ts<<"\t"<