summaryrefslogtreecommitdiffstats
path: root/src/filter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-22 17:46:54 +0900
committerMichele Calgaro <[email protected]>2025-02-03 22:38:49 +0900
commit4a47c1bfffffad7094f0b5c7cef532069e088ec3 (patch)
tree31b86dd0d87816e4b31e8bc2aa7687b2e85c2e82 /src/filter.cpp
parent7975b08418486c2793bd61c32ee347ce6b81c687 (diff)
downloadbasket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.tar.gz
basket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/filter.cpp')
-rw-r--r--src/filter.cpp8
1 files changed, 4 insertions, 4 deletions
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);