diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21 (patch) | |
tree | 32289f314009a269903735db89973ac343e2bb64 /src/kbfxspinx.cpp | |
parent | 055401d5dbcb7a509b9d6a6414ba3fc55a23eb82 (diff) | |
download | kbfx-6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21.tar.gz kbfx-6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxspinx.cpp')
-rw-r--r-- | src/kbfxspinx.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbfxspinx.cpp b/src/kbfxspinx.cpp index af0e65f..4510f38 100644 --- a/src/kbfxspinx.cpp +++ b/src/kbfxspinx.cpp @@ -25,10 +25,10 @@ bool KbfxSpinx::m_horizontal_position = TRUE; -KbfxSpinx::KbfxSpinx ( const TQString& configFile, Type type, int actions, TQWidget *tqparent, const char *name ) - : KPanelApplet ( configFile, type, actions, tqparent, name ),DCOPObject ( "KBFXInterface" ) +KbfxSpinx::KbfxSpinx ( const TQString& configFile, Type type, int actions, TQWidget *parent, const char *name ) + : KPanelApplet ( configFile, type, actions, parent, name ),DCOPObject ( "KBFXInterface" ) { - m_parent = tqparent; + m_parent = parent; createKbfx(); } @@ -95,7 +95,7 @@ void KbfxSpinx::notifyConfigChange() /* FIXME The delete here does not reload everything. - Only the button and the tqparent menu. + Only the button and the parent menu. Carefull memory de-allocation is needed before deleteing further :-( Else be ready for a nice backtrace. Memleak is obvious. @@ -315,12 +315,12 @@ TQPoint KbfxSpinx::menuPosition() extern "C" { - KPanelApplet* init ( TQWidget *tqparent, const TQString& configFile ) + KPanelApplet* init ( TQWidget *parent, const TQString& configFile ) { KGlobal::locale()->insertCatalogue ( "KbfxSpinx" ); return new KbfxSpinx ( configFile, KPanelApplet::Normal, KPanelApplet::About | KPanelApplet::Help | KPanelApplet::Preferences, - tqparent, "KbfxSpinx" ); + parent, "KbfxSpinx" ); } } |