summaryrefslogtreecommitdiffstats
path: root/klipper
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:52:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:52:49 +0900
commita8f627e6d45af521718176586daf0253b4daa597 (patch)
treecb97fd20da95f86ceac149162040a2907cd0acad /klipper
parent547c7d72cf8f8eccd79e6114d3252ae01f1accde (diff)
downloadtdebase-a8f627e6d45af521718176586daf0253b4daa597.tar.gz
tdebase-a8f627e6d45af521718176586daf0253b4daa597.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'klipper')
-rw-r--r--klipper/klipperpopup.cpp2
-rw-r--r--klipper/popupproxy.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/klipper/klipperpopup.cpp b/klipper/klipperpopup.cpp
index c3881a7a6..5b43fb8f5 100644
--- a/klipper/klipperpopup.cpp
+++ b/klipper/klipperpopup.cpp
@@ -145,7 +145,7 @@ void KlipperPopup::buildFromScratch() {
m_filterWidget = new KLineEditBlackKey( this, "Klipper filter widget" );
insertTitle( SmallIcon( "klipper" ), i18n("Klipper - Clipboard Tool"));
m_filterWidgetId = insertItem( m_filterWidget, m_filterWidgetId, 1 );
- m_filterWidget->setFocusPolicy( TQ_NoFocus );
+ m_filterWidget->setFocusPolicy( TQWidget::NoFocus );
setItemVisible( m_filterWidgetId, false );
m_filterWidget->hide();
TQString lastGroup;
diff --git a/klipper/popupproxy.cpp b/klipper/popupproxy.cpp
index 71adba63d..f4264cf56 100644
--- a/klipper/popupproxy.cpp
+++ b/klipper/popupproxy.cpp
@@ -98,7 +98,7 @@ void PopupProxy::tryInsertItem( HistoryItem const * const item,
} else {
const TQSize max_size( m_menu_width,m_menu_height/4 );
if ( image.height() > max_size.height() || image.width() > max_size.width() ) {
- image.convertFromImage( TQImage(image.convertToImage()).smoothScale( max_size, TQ_ScaleMin ) );
+ image.convertFromImage( TQImage(image.convertToImage()).smoothScale( max_size, TQImage::ScaleMin ) );
}
id = proxy_for_menu->insertItem( image, -1, index );
}