summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
commit7d18baa666593a494ceea480732a8540ba471fe5 (patch)
tree1c656ba0da61a3bfcf4c4de730e66322865844fe /kexi/widget/utils
parent951839808408bed4165fc025dbf00caf59ea319b (diff)
downloadkoffice-7d18baa666593a494ceea480732a8540ba471fe5.tar.gz
koffice-7d18baa666593a494ceea480732a8540ba471fe5.zip
Rename additional global TQt functions
Diffstat (limited to 'kexi/widget/utils')
-rw-r--r--kexi/widget/utils/kexicomboboxdropdownbutton.cpp6
-rw-r--r--kexi/widget/utils/kexidropdownbutton.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/utils/kexicomboboxdropdownbutton.cpp b/kexi/widget/utils/kexicomboboxdropdownbutton.cpp
index 5e0b7ab8..4931eb19 100644
--- a/kexi/widget/utils/kexicomboboxdropdownbutton.cpp
+++ b/kexi/widget/utils/kexicomboboxdropdownbutton.cpp
@@ -71,15 +71,15 @@ void KexiComboBoxDropDownButton::drawButton(TQPainter *p)
void KexiComboBoxDropDownButton::styleChange( TQStyle & oldStyle )
{
//<hack>
- if (qstricmp(style().name(),"thinkeramik")==0) {
+ if (tqstricmp(style().name(),"thinkeramik")==0) {
m_fixForHeight = 3;
}
else
m_fixForHeight = 0;
//</hack>
m_drawComplexControl =
- (style().inherits("KStyle") && qstricmp(style().name(),"qtcurve")!=0)
- || qstricmp(style().name(),"platinum")==0;
+ (style().inherits("KStyle") && tqstricmp(style().name(),"qtcurve")!=0)
+ || tqstricmp(style().name(),"platinum")==0;
if (m_fixForHeight==0)
setFixedWidth( style().querySubControlMetrics( TQStyle::CC_ComboBox,
(const TQWidget*)m_paintedCombo, TQStyle::SC_ComboBoxArrow ).width() +1 );
diff --git a/kexi/widget/utils/kexidropdownbutton.cpp b/kexi/widget/utils/kexidropdownbutton.cpp
index 0710b4d0..fa9b2497 100644
--- a/kexi/widget/utils/kexidropdownbutton.cpp
+++ b/kexi/widget/utils/kexidropdownbutton.cpp
@@ -33,7 +33,7 @@ KexiDropDownButton::KexiDropDownButton(TQWidget *parent)
// setFixedWidth(TQMAX(18, tqApp->globalStrut().width()));
int fixedWidth;
//hack
- if (qstricmp(style().name(),"thinkeramik")==0)
+ if (tqstricmp(style().name(),"thinkeramik")==0)
fixedWidth = 18; //typical width as in "windows" style
else
fixedWidth = style().querySubControlMetrics( TQStyle::CC_ComboBox,