diff options
Diffstat (limited to 'kcron/kttask.cpp')
-rw-r--r-- | kcron/kttask.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcron/kttask.cpp b/kcron/kttask.cpp index 99e9608..0568de5 100644 --- a/kcron/kttask.cpp +++ b/kcron/kttask.cpp @@ -36,15 +36,15 @@ class KTPushButton : public TQPushButton { public: - KTPushButton(TQWidget * tqparent, const char * name = 0 ) - : TQPushButton(tqparent, name), isSelected(false), isDirty(false) + KTPushButton(TQWidget * parent, const char * name = 0 ) + : TQPushButton(parent, name), isSelected(false), isDirty(false) { updatePalette(); } void updatePalette() { - palNormal = ((TQWidget *)tqparent())->palette(); + palNormal = ((TQWidget *)parent())->palette(); palSelected = palNormal; for(int cg = (int) TQPalette::Disabled; cg < (int) TQPalette::NColorGroups; cg++) { |