Logo Search packages:      
Sourcecode: lemonpos-kde4 version File versions  Download package

void lemon::disableConfig (  )  [private, slot]

Slot used to disable the Preferences action

Definition at line 403 of file lemon.cpp.

Referenced by disableUi(), and lemon().

  QAction *actPref = actionCollection()->action(KStandardAction::stdName(KStandardAction::Preferences));
  QAction *actQuit = actionCollection()->action(KStandardAction::stdName(KStandardAction::Quit));
  //FIXME: esto no es muy bueno en produccion..
  if (!Settings::allowAnyUserToQuit()) actQuit->setDisabled(true);

  QAction *actSop = actionCollection()->action("startOperation");

Generated by  Doxygen 1.6.0   Back to index