parameters: (self)
docstring: creates some actions needed on some menues and toolbars
docstring_summary: creates some actions needed on some menues and toolbars
docstring_tokens: creates some actions needed on some menues and toolbars
function: def _setupActions(self):
          """
          creates some actions needed on some menues and toolbars
          """
          a = self._actions["close_shell"] = qt.QAction( qt.QIconSet(qt.QPixmap(os.path.join(CONF.getIconsPath(),"newshell.png"))), "&Close Shell", qt.Qt.CTRL + qt.Qt.Key_W, self, "New Shell" )
          self.connect(a, qt.SIGNAL('activated()'), self.destroyShellTab)
          
          a = self._actions["new_shell"] = qt.QAction( qt.QIconSet(qt.QPixmap(os.path.join(CONF.getIconsPath(),"newshell.png"))), "&New Shell", qt.Qt.CTRL + qt.Qt.Key_T, self, "New Shell" )
          self.connect(a, qt.SIGNAL('activated()'), self.createShellTab)
function_tokens: def _setupActions ( self ) : a = self . _actions [ "close_shell" ] = qt . QAction ( qt . QIconSet ( qt . QPixmap ( os . path . join ( CONF . getIconsPath ( ) , "newshell.png" ) ) ) , "&Close Shell" , qt . Qt . CTRL + qt . Qt . Key_W , self , "New Shell" ) self . connect ( a , qt . SIGNAL ( 'activated()' ) , self . destroyShellTab ) a = self . _actions [ "new_shell" ] = qt . QAction ( qt . QIconSet ( qt . QPixmap ( os . path . join ( CONF . getIconsPath ( ) , "newshell.png" ) ) ) , "&New Shell" , qt . Qt . CTRL + qt . Qt . Key_T , self , "New Shell" ) self . connect ( a , qt . SIGNAL ( 'activated()' ) , self . createShellTab )