summaryrefslogtreecommitdiffstats
path: root/src/configure.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-21 11:30:43 +0900
committerMichele Calgaro <[email protected]>2025-02-03 21:55:28 +0900
commit81aae76921da88edf3e7fb02f580cf81554a03dd (patch)
tree4bf0d93c68885851178c0d537fa5a9dc17acde2e /src/configure.cpp
parent9d5a9cae5c1c9d415b7a5475e37692b7eceb7497 (diff)
downloadknetstats-81aae76921da88edf3e7fb02f580cf81554a03dd.tar.gz
knetstats-81aae76921da88edf3e7fb02f580cf81554a03dd.zip
Use tdeAppHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/configure.cpp')
-rw-r--r--src/configure.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configure.cpp b/src/configure.cpp
index b6360b4..b4ec8d4 100644
--- a/src/configure.cpp
+++ b/src/configure.cpp
@@ -43,7 +43,7 @@
Configure::Configure(KNetStats* parent, const InterfaceMap& ifs) : ConfigureBase(parent) {
// Load configuration
- TDEIconLoader* loader = kapp->iconLoader();
+ TDEIconLoader* loader = tdeApp->iconLoader();
TQPixmap iconPCI = loader->loadIcon("icon_pci.png", TDEIcon::Small, 16);
@@ -131,7 +131,7 @@ bool Configure::canSaveConfig()
void Configure::changeTheme(int theme)
{
- TDEIconLoader* loader = kapp->iconLoader();
+ TDEIconLoader* loader = tdeApp->iconLoader();
mIconError->setPixmap(loader->loadIcon("theme"+TQString::number(theme)+"_error.png",
TDEIcon::Panel, ICONSIZE));
mIconNone->setPixmap(loader->loadIcon("theme"+TQString::number(theme)+"_none.png",
@@ -147,7 +147,7 @@ void Configure::changeTheme(int theme)
void Configure::showInterfaceContextMenu(TQListBoxItem* item, const TQPoint& point) {
if (!item && mConfig.size() == 1)
return;
- TQPixmap icon = kapp->iconLoader()->loadIcon("edit-delete", TDEIcon::Small, 16);
+ TQPixmap icon = tdeApp->iconLoader()->loadIcon("edit-delete", TDEIcon::Small, 16);
TQPopupMenu* menu = new TQPopupMenu(this);
menu->insertItem(icon, i18n("Renomve Interface"), this, TQ_SLOT(removeInterface()));
menu->exec(point);