Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 8 months ago
parent 904b29291b
commit d56a6af0f4
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -47,7 +47,7 @@ Button::Button(ButtonBar *parent, const TQString text, const TQIconSet &icon,
hide();
setFlat(true);
setToggleButton(true);
setFocusPolicy(TQ_NoFocus);
setFocusPolicy(TQWidget::NoFocus);
setDescription(m_description);
setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum);
resize(sizeHint());

@ -29,7 +29,7 @@
DTabWidget::DTabWidget(TQWidget *parent, const char *name)
:KTabWidget(parent, name), m_closeButton(0)
{
setFocusPolicy(TQ_NoFocus);
setFocusPolicy(TQWidget::NoFocus);
setMargin(0);
loadSettings();

@ -100,7 +100,7 @@ const TQPixmap& kt::FlagDB::getFlag(const TQString& country)
if (TQFile::exists(path)) {
if (img.load(path)) {
if (img.width() != preferredWidth || img.height() != preferredHeight) {
const TQImage& imgScaled = img.smoothScale(preferredWidth, preferredHeight, TQ_ScaleMin);
const TQImage& imgScaled = img.smoothScale(preferredWidth, preferredHeight, TQImage::ScaleMin);
if (!imgScaled.isNull()) {
pixmap.convertFromImage(imgScaled);
break;

@ -63,7 +63,7 @@ namespace kt
setColumnLabels(days);
setRowLabels(hours);
setFocusPolicy(TQ_StrongFocus);
setFocusPolicy(TQWidget::StrongFocus);
TQFont f;
f.setPointSize(8);

Loading…
Cancel
Save