summaryrefslogtreecommitdiffstats
path: root/kexi/widget
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget')
-rw-r--r--kexi/widget/tableview/kexitableview.cpp4
-rw-r--r--kexi/widget/utils/kexicomboboxdropdownbutton.cpp6
-rw-r--r--kexi/widget/utils/kexidropdownbutton.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/kexi/widget/tableview/kexitableview.cpp b/kexi/widget/tableview/kexitableview.cpp
index f5e3a376..a766c597 100644
--- a/kexi/widget/tableview/kexitableview.cpp
+++ b/kexi/widget/tableview/kexitableview.cpp
@@ -643,7 +643,7 @@ void KexiTableView::drawContents( TQPainter *p, int cx, int cy, int cw, int ch)
rowlast = tmp;
}
-// qDebug("cx:%3d cy:%3d w:%3d h:%3d col:%2d..%2d row:%2d..%2d tsize:%4d,%4d",
+// tqDebug("cx:%3d cy:%3d w:%3d h:%3d col:%2d..%2d row:%2d..%2d tsize:%4d,%4d",
// cx, cy, cw, ch, colfirst, collast, rowfirst, rowlast, tableSize().width(), tableSize().height());
// triggerUpdate();
@@ -923,7 +923,7 @@ TQPoint KexiTableView::viewportToContents2( const TQPoint& vp )
void KexiTableView::paintEmptyArea( TQPainter *p, int cx, int cy, int cw, int ch )
{
-// qDebug("%s: paintEmptyArea(x:%d y:%d w:%d h:%d)", (const char*)parentWidget()->caption(),cx,cy,cw,ch);
+// tqDebug("%s: paintEmptyArea(x:%d y:%d w:%d h:%d)", (const char*)parentWidget()->caption(),cx,cy,cw,ch);
// Regions work with shorts, so avoid an overflow and adjust the
// table size to the visible size
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,