|
|
|
@ -143,7 +143,7 @@ actionCollection());
|
|
|
|
|
mAction.exportData = new TDEAction( i18n("E&xport..."), 0,
|
|
|
|
|
TQT_TQOBJECT(editor()), TQT_SLOT(exportDialog()), actionCollection(), "export" );
|
|
|
|
|
mAction.cancel = new TDEAction( i18n("&Cancel Operation"),
|
|
|
|
|
"stop", 0, TQT_TQOBJECT(editor()), TQT_SLOT(stop()), actionCollection(), "cancel" );
|
|
|
|
|
"process-stop", 0, TQT_TQOBJECT(editor()), TQT_SLOT(stop()), actionCollection(), "cancel" );
|
|
|
|
|
mAction.readOnly = new TDEToggleAction( i18n("&Read Only"),
|
|
|
|
|
0, TQT_TQOBJECT(editor()), TQT_SLOT(toggleWriteProtection()),actionCollection(), "read_only" );
|
|
|
|
|
mAction.resizeLock = new TDEToggleAction( i18n("&Allow Resize"),
|
|
|
|
@ -299,7 +299,7 @@ actionCollection());
|
|
|
|
|
hexView()->setPopupMenu( popup );
|
|
|
|
|
|
|
|
|
|
int id = 100;
|
|
|
|
|
toolBar(0)->insertButton( MainBarIcon("lock"), id, TQT_SIGNAL(clicked()),
|
|
|
|
|
toolBar(0)->insertButton( MainBarIcon("system-lock-screen"), id, TQT_SIGNAL(clicked()),
|
|
|
|
|
TQT_TQOBJECT(editor()), TQT_SLOT(toggleWriteProtection()), true,
|
|
|
|
|
i18n("Toggle write protection") );
|
|
|
|
|
toolBar(0)->alignItemRight( id );
|
|
|
|
@ -898,7 +898,7 @@ void KHexEdit::inputModeChanged( const SDisplayInputMode &mode )
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
mWriteProtectButton->setIcon("lock");
|
|
|
|
|
mWriteProtectButton->setIcon("system-lock-screen");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|