summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/config
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:50 +0900
commitd37705184967f236c728938b2824abbed628ce26 (patch)
tree891cb2133b5edea3d2c78fc5ee31ba1b0e3d49ee /kopete/kopete/config
parent42857567f953e2f9bdda1ac81ee6c3557dee5a29 (diff)
downloadtdenetwork-d37705184967f236c728938b2824abbed628ce26.tar.gz
tdenetwork-d37705184967f236c728938b2824abbed628ce26.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/kopete/config')
-rw-r--r--kopete/kopete/config/appearance/appearanceconfig.cpp2
-rw-r--r--kopete/kopete/config/identity/kopeteidentityconfig.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/kopete/kopete/config/appearance/appearanceconfig.cpp b/kopete/kopete/config/appearance/appearanceconfig.cpp
index 279fe0c4..555c36a1 100644
--- a/kopete/kopete/config/appearance/appearanceconfig.cpp
+++ b/kopete/kopete/config/appearance/appearanceconfig.cpp
@@ -241,7 +241,7 @@ AppearanceConfig::AppearanceConfig(TQWidget *parent, const char* /*name*/, const
TDEHTMLView *htmlWidget = d->preview->view();
htmlWidget->setMarginWidth(4);
htmlWidget->setMarginHeight(4);
- htmlWidget->setFocusPolicy(TQ_NoFocus);
+ htmlWidget->setFocusPolicy(TQWidget::NoFocus);
htmlWidget->setSizePolicy(
TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
l->addWidget(htmlWidget);
diff --git a/kopete/kopete/config/identity/kopeteidentityconfig.cpp b/kopete/kopete/config/identity/kopeteidentityconfig.cpp
index d3c2b335..f57de188 100644
--- a/kopete/kopete/config/identity/kopeteidentityconfig.cpp
+++ b/kopete/kopete/config/identity/kopeteidentityconfig.cpp
@@ -383,7 +383,7 @@ void KopeteIdentityConfig::slotEnableAndDisableWidgets()
}
if(!photo.isNull())
- d->m_view->labelPhoto->setPixmap(TQPixmap(photo.smoothScale(64, 92, TQ_ScaleMin)));
+ d->m_view->labelPhoto->setPixmap(TQPixmap(photo.smoothScale(64, 92, TQImage::ScaleMin)));
else
d->m_view->labelPhoto->setPixmap(TQPixmap());
@@ -528,7 +528,7 @@ void KopeteIdentityConfig::slotChangePhoto(const TQString &photoUrl)
if(photo.width() > 96 || photo.height() > 96)
{
// Scale and crop the picture.
- photo = photo.smoothScale( 96, 96, TQ_ScaleMin );
+ photo = photo.smoothScale( 96, 96, TQImage::ScaleMin );
// crop image if not square
if(photo.width() < photo.height())
photo = photo.copy((photo.width()-photo.height())/2, 0, 96, 96);
@@ -539,7 +539,7 @@ void KopeteIdentityConfig::slotChangePhoto(const TQString &photoUrl)
else if (photo.width() < 32 || photo.height() < 32)
{
// Scale and crop the picture.
- photo = photo.smoothScale( 32, 32, TQ_ScaleMin );
+ photo = photo.smoothScale( 32, 32, TQImage::ScaleMin );
// crop image if not square
if(photo.width() < photo.height())
photo = photo.copy((photo.width()-photo.height())/2, 0, 32, 32);