Logo Search packages:      
Sourcecode: packagesearch version File versions

void PackageSearchImpl::onInformationPageChanged ( QWidget *  pPage  )  [protected, virtual, slot]

This is called whenever the user selects another information page.

Definition at line 724 of file packagesearchimpl.cpp.

References _informationPlugins, and handleMaker().

      if (_currentPackage.isEmpty())      // if no package was selected
      int packageID = handleMaker().getHandle(toString(_currentPackage));
      for (
            InformationPluginContainer::iterator it = _informationPlugins.begin();
            it != _informationPlugins.end();
            if (_pInformationContainer->currentPage() == (*it)->informationWidget())
            // show the page only if it is currenly active

Generated by  Doxygen 1.6.0   Back to index