summaryrefslogtreecommitdiffstats
path: root/KMFSysTray/kmfsystray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'KMFSysTray/kmfsystray.cpp')
-rw-r--r--KMFSysTray/kmfsystray.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/KMFSysTray/kmfsystray.cpp b/KMFSysTray/kmfsystray.cpp
index 416bcf5..17cded0 100644
--- a/KMFSysTray/kmfsystray.cpp
+++ b/KMFSysTray/kmfsystray.cpp
@@ -82,7 +82,7 @@ KMFSysTray::~KMFSysTray() {}
void KMFSysTray::initMenu() {
KPopupMenu* menu = contextMenu ();
- menu->insertItem( KGlobal::iconLoader()->loadIcon( "kmyfirewall", KIcon::Small ), i18n( "Launch KMyFirewall..."), this, TQT_SLOT( slotLaunchKMF() ), CTRL+Key_K );
+ menu->insertItem( TDEGlobal::iconLoader()->loadIcon( "kmyfirewall", KIcon::Small ), i18n( "Launch KMyFirewall..."), this, TQT_SLOT( slotLaunchKMF() ), CTRL+Key_K );
}
@@ -98,10 +98,10 @@ void KMFSysTray::slotSetRunningStatus( bool on ) {
void KMFSysTray::slotLaunchKMF () {
- KProcess *childproc = new KProcess();
+ TDEProcess *childproc = new TDEProcess();
*childproc << "tdesu";
*childproc << "kmyfirewall";
- childproc->start( KProcess:: DontCare, KProcess::NoCommunication );
+ childproc->start( TDEProcess:: DontCare, TDEProcess::NoCommunication );
}
void KMFSysTray::slotShowDetails() {
@@ -156,7 +156,7 @@ void KMFSysTray::resizeEvent( TQResizeEvent *e ) {}
// extern "C" {
// KPanelApplet * init( TQWidget * parent, const TQString & configFile ) {
-// KGlobal::locale() ->insertCatalogue( "kmfsystray" );
+// TDEGlobal::locale() ->insertCatalogue( "kmfsystray" );
// return new KMFSysTray( configFile, KPanelApplet::Normal,
// KPanelApplet::About | KPanelApplet::Help | KPanelApplet::Preferences,
// parent, "kmfsystray" );