|
|
|
@ -16,9 +16,9 @@
|
|
|
|
|
IconToggleAction::IconToggleAction(
|
|
|
|
|
const TQString& useTextUnchecked, const TQString& useIconUnchecked,
|
|
|
|
|
const TQString& useTextChecked, const TQString& useIconChecked,
|
|
|
|
|
const KShortcut& cut, const TQObject* receiver, const char* slot,
|
|
|
|
|
const TDEShortcut& cut, const TQObject* receiver, const char* slot,
|
|
|
|
|
TQObject* parent, const char* name) :
|
|
|
|
|
KToggleAction(useTextUnchecked, useIconUnchecked, cut, receiver,
|
|
|
|
|
TDEToggleAction(useTextUnchecked, useIconUnchecked, cut, receiver,
|
|
|
|
|
slot, parent, name),
|
|
|
|
|
textChecked(useTextChecked), textUnchecked(useTextUnchecked),
|
|
|
|
|
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
|
|
|
|
@ -26,9 +26,9 @@ IconToggleAction::IconToggleAction(
|
|
|
|
|
|
|
|
|
|
IconToggleAction::IconToggleAction(const TQString& useText,
|
|
|
|
|
const TQString& useIconUnchecked, const TQString& useIconChecked,
|
|
|
|
|
const KShortcut& cut, const TQObject* receiver, const char* slot,
|
|
|
|
|
const TDEShortcut& cut, const TQObject* receiver, const char* slot,
|
|
|
|
|
TQObject* parent, const char* name) :
|
|
|
|
|
KToggleAction(useText, useIconUnchecked, cut, receiver,
|
|
|
|
|
TDEToggleAction(useText, useIconUnchecked, cut, receiver,
|
|
|
|
|
slot, parent, name),
|
|
|
|
|
textChecked(useText), textUnchecked(useText),
|
|
|
|
|
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
|
|
|
|
@ -37,16 +37,16 @@ IconToggleAction::IconToggleAction(const TQString& useText,
|
|
|
|
|
IconToggleAction::IconToggleAction(
|
|
|
|
|
const TQString& useTextUnchecked, const TQString& useIconUnchecked,
|
|
|
|
|
const TQString& useTextChecked, const TQString& useIconChecked,
|
|
|
|
|
const KShortcut& cut, TQObject* parent, const char* name) :
|
|
|
|
|
KToggleAction(useTextUnchecked, useIconUnchecked, cut, parent, name),
|
|
|
|
|
const TDEShortcut& cut, TQObject* parent, const char* name) :
|
|
|
|
|
TDEToggleAction(useTextUnchecked, useIconUnchecked, cut, parent, name),
|
|
|
|
|
textChecked(useTextChecked), textUnchecked(useTextUnchecked),
|
|
|
|
|
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
IconToggleAction::IconToggleAction(const TQString& useText,
|
|
|
|
|
const TQString& useIconUnchecked, const TQString& useIconChecked,
|
|
|
|
|
const KShortcut& cut, TQObject* parent, const char* name) :
|
|
|
|
|
KToggleAction(useText, useIconUnchecked, cut, parent, name),
|
|
|
|
|
const TDEShortcut& cut, TQObject* parent, const char* name) :
|
|
|
|
|
TDEToggleAction(useText, useIconUnchecked, cut, parent, name),
|
|
|
|
|
textChecked(useText), textUnchecked(useText),
|
|
|
|
|
iconChecked(useIconChecked), iconUnchecked(useIconUnchecked) {
|
|
|
|
|
}
|
|
|
|
@ -57,7 +57,7 @@ void IconToggleAction::setChecked(bool value) {
|
|
|
|
|
setIcon(value ? iconChecked : iconUnchecked);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KToggleAction::setChecked(value);
|
|
|
|
|
TDEToggleAction::setChecked(value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#include "icontoggleaction.moc"
|
|
|
|
|