summaryrefslogtreecommitdiffstats
path: root/src/infosidebarpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/infosidebarpage.cpp')
-rw-r--r--src/infosidebarpage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp
index 2766e1f..3cdc23a 100644
--- a/src/infosidebarpage.cpp
+++ b/src/infosidebarpage.cpp
@@ -74,24 +74,24 @@ InfoSidebarPage::InfoSidebarPage(TQWidget* parent) :
// name
m_name = new TQLabel(this);
m_name->setTextFormat(TQt::RichText);
- m_name->tqsetAlignment(m_name->tqalignment() | TQt::AlignHCenter);
+ m_name->setAlignment(m_name->tqalignment() | TQt::AlignHCenter);
TQFontMetrics fontMetrics(m_name->font());
m_name->setMinimumHeight(fontMetrics.height() * 3);
- m_name->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Maximum);
+ m_name->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Maximum);
TQWidget* sep1 = new TQHGroupBox(this); // TODO: check whether default widget exist for this?
sep1->setFixedHeight(1);
// general information
m_infoGrid = new TQGrid(2, this);
- m_infoGrid->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
+ m_infoGrid->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
TQWidget* sep2 = new TQHGroupBox(this); // TODO: check whether default widget exist for this?
sep2->setFixedHeight(1);
// actions
m_actionBox = new TQVBox(this);
- m_actionBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
+ m_actionBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
// Add a dummy widget with no restriction regarding a vertical resizing.
// This assures that information is always top aligned.
@@ -388,14 +388,14 @@ void InfoSidebarPage::addInfoLine(const TQString& labelText, const TQString& inf
// no labels are available anymore, hence create 2 new ones
TQLabel* label = new TQLabel(labelStr, m_infoGrid);
label->setTextFormat(TQt::RichText);
- label->tqsetAlignment(TQt::AlignRight |
+ label->setAlignment(TQt::AlignRight |
TQt::AlignTop);
label->show();
m_infoWidgets.append(label);
TQLabel* info = new TQLabel(infoText, m_infoGrid);
info->setTextFormat(TQt::RichText);
- info->tqsetAlignment(TQt::AlignTop | TQt::WordBreak);
+ info->setAlignment(TQt::AlignTop | TQt::WordBreak);
info->show();
m_infoWidgets.append(info);
@@ -535,7 +535,7 @@ ServiceButton::ServiceButton(const TQIconSet& icon,
m_hover(false),
m_index(index)
{
- setEraseColor(tqcolorGroup().background());
+ setEraseColor(colorGroup().background());
setFocusPolicy(TQ_NoFocus);
connect(this, TQT_SIGNAL(released()),
this, TQT_SLOT(slotReleased()));
@@ -557,7 +557,7 @@ void ServiceButton::drawButton(TQPainter* painter)
foregroundColor = KGlobalSettings::highlightedTextColor();
}
else {
- backgroundColor = tqcolorGroup().background();
+ backgroundColor = colorGroup().background();
foregroundColor = KGlobalSettings::buttonTextColor();
}