summaryrefslogtreecommitdiffstats
path: root/kexi/widget
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-24 11:36:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-24 11:36:24 -0600
commit039393e199a49b5158929668908f9cb1fe226484 (patch)
treed7aec29ab26866737b6786073bba888af62cb1bf /kexi/widget
parent2d6954f69caf63ed5057bd8e1405a65d7d970292 (diff)
downloadkoffice-039393e199a49b5158929668908f9cb1fe226484.tar.gz
koffice-039393e199a49b5158929668908f9cb1fe226484.zip
Rename a few stragglers
Diffstat (limited to 'kexi/widget')
-rw-r--r--kexi/widget/tableview/kexitableview.cpp8
-rw-r--r--kexi/widget/tableview/kexitableviewheader.cpp2
-rw-r--r--kexi/widget/utils/kexidisplayutils.cpp4
-rw-r--r--kexi/widget/utils/kexirecordmarker.cpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/tableview/kexitableview.cpp b/kexi/widget/tableview/kexitableview.cpp
index da1c2f20..f5e3a376 100644
--- a/kexi/widget/tableview/kexitableview.cpp
+++ b/kexi/widget/tableview/kexitableview.cpp
@@ -240,14 +240,14 @@ KexiTableView::KexiTableView(KexiTableViewData* data, TQWidget* parent, const ch
// Create headers
m_horizontalHeader = new KexiTableViewHeader(this, "topHeader");
- m_horizontalHeader->setSelectionBackgroundColor( tqpalette().active().highlight() );
+ m_horizontalHeader->setSelectionBackgroundColor( palette().active().highlight() );
m_horizontalHeader->setOrientation(Qt::Horizontal);
m_horizontalHeader->setTracking(false);
m_horizontalHeader->setMovingEnabled(false);
connect(m_horizontalHeader, TQT_SIGNAL(sizeChange(int,int,int)), this, TQT_SLOT(slotTopHeaderSizeChange(int,int,int)));
m_verticalHeader = new KexiRecordMarker(this, "rm");
- m_verticalHeader->setSelectionBackgroundColor( tqpalette().active().highlight() );
+ m_verticalHeader->setSelectionBackgroundColor( palette().active().highlight() );
m_verticalHeader->setCellHeight(d->rowHeight);
// m_verticalHeader->setFixedWidth(d->rowHeight);
m_verticalHeader->setCurrentRow(-1);
@@ -2508,9 +2508,9 @@ void KexiTableView::paletteChange( const TQPalette &oldPalette )
Q_UNUSED(oldPalette);
//update:
if (m_verticalHeader)
- m_verticalHeader->setSelectionBackgroundColor( tqpalette().active().highlight() );
+ m_verticalHeader->setSelectionBackgroundColor( palette().active().highlight() );
if (m_horizontalHeader)
- m_horizontalHeader->setSelectionBackgroundColor( tqpalette().active().highlight() );
+ m_horizontalHeader->setSelectionBackgroundColor( palette().active().highlight() );
}
const KexiTableView::Appearance& KexiTableView::appearance() const
diff --git a/kexi/widget/tableview/kexitableviewheader.cpp b/kexi/widget/tableview/kexitableviewheader.cpp
index cab7f791..d4b64127 100644
--- a/kexi/widget/tableview/kexitableviewheader.cpp
+++ b/kexi/widget/tableview/kexitableviewheader.cpp
@@ -61,7 +61,7 @@ class KexiTableViewHeaderStyle : public KexiUtils::StyleProxy
KexiTableViewHeader::KexiTableViewHeader(TQWidget * parent, const char * name)
: TQHeader(parent, name)
, m_lastToolTipSection(-1)
- , m_selectionBackgroundColor(tqApp->tqpalette().active().highlight())
+ , m_selectionBackgroundColor(tqApp->palette().active().highlight())
, m_selectedSection(-1)
, m_styleChangeEnabled(true)
{
diff --git a/kexi/widget/utils/kexidisplayutils.cpp b/kexi/widget/utils/kexidisplayutils.cpp
index 0866cf65..11b1d742 100644
--- a/kexi/widget/utils/kexidisplayutils.cpp
+++ b/kexi/widget/utils/kexidisplayutils.cpp
@@ -93,7 +93,7 @@ KexiDisplayUtils::DisplayParameters::DisplayParameters()
KexiDisplayUtils::DisplayParameters::DisplayParameters(TQWidget *w)
{
textColor = w->palette().active().foreground();
- selectedTextColor = w->tqpalette().active().highlightedText();
+ selectedTextColor = w->palette().active().highlightedText();
font = w->font();
}
@@ -113,7 +113,7 @@ void KexiDisplayUtils::initDisplayForAutonumberSign(DisplayParameters& par, TQWi
void KexiDisplayUtils::initDisplayForDefaultValue(DisplayParameters& par, TQWidget *widget)
{
par.textColor = SPECIAL_TEXT_COLOR;
- par.selectedTextColor = widget->tqpalette().active().highlightedText();
+ par.selectedTextColor = widget->palette().active().highlightedText();
par.font = widget->font();
par.font.setItalic(true);
}
diff --git a/kexi/widget/utils/kexirecordmarker.cpp b/kexi/widget/utils/kexirecordmarker.cpp
index a2d6b3d6..ff97d21a 100644
--- a/kexi/widget/utils/kexirecordmarker.cpp
+++ b/kexi/widget/utils/kexirecordmarker.cpp
@@ -100,7 +100,7 @@ public:
, highlightedRow(-1)
, editRow(-1)
, rows(0)
- , selectionBackgroundColor(tqApp->tqpalette().active().highlight())
+ , selectionBackgroundColor(tqApp->palette().active().highlight())
, showInsertRow(true)
{
}