From 4a47c1bfffffad7094f0b5c7cef532069e088ec3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 22 Jan 2025 17:46:54 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- src/filter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/filter.cpp') diff --git a/src/filter.cpp b/src/filter.cpp index 226520a..52fc7ad 100644 --- a/src/filter.cpp +++ b/src/filter.cpp @@ -55,8 +55,8 @@ FilterBar::FilterBar(TQWidget *parent, const char *name) TQHBoxLayout *hBox = new TQHBoxLayout(this, /*margin*/0, /*spacing*/0); // Create every widgets: - TQIconSet resetIconSet = kapp->iconLoader()->loadIconSet("locationbar_erase", TDEIcon::Toolbar); - TQIconSet inAllIconSet = kapp->iconLoader()->loadIconSet("edit-find", TDEIcon::Toolbar); + TQIconSet resetIconSet = tdeApp->iconLoader()->loadIconSet("locationbar_erase", TDEIcon::Toolbar); + TQIconSet inAllIconSet = tdeApp->iconLoader()->loadIconSet("edit-find", TDEIcon::Toolbar); m_resetButton = new TQToolButton(this); @@ -172,7 +172,7 @@ void FilterBar::repopulateTagsComnbo() text = state->name(); icon = state->emblem(); } - emblem = kapp->iconLoader()->loadIcon(icon, TDEIcon::Desktop, ICON_SIZE, TDEIcon::DefaultState, 0L, /*canReturnNull=*/true); + emblem = tdeApp->iconLoader()->loadIcon(icon, TDEIcon::Desktop, ICON_SIZE, TDEIcon::DefaultState, 0L, /*canReturnNull=*/true); m_tagsBox->insertItem(emblem, text, index); // Update the mapping: m_tagsMap.insert(index, tag); @@ -184,7 +184,7 @@ void FilterBar::repopulateTagsComnbo() // Insert the state: text = state->name(); icon = state->emblem(); - emblem = kapp->iconLoader()->loadIcon(icon, TDEIcon::Desktop, ICON_SIZE, TDEIcon::DefaultState, 0L, /*canReturnNull=*/true); + emblem = tdeApp->iconLoader()->loadIcon(icon, TDEIcon::Desktop, ICON_SIZE, TDEIcon::DefaultState, 0L, /*canReturnNull=*/true); // Indent the emblem to show the hierarchy relation: if (!emblem.isNull()) emblem = Tools::indentPixmap(emblem, /*depth=*/1, /*deltaX=*/2 * ICON_SIZE / 3); -- cgit v1.2.1