Logo Search packages:      
Sourcecode: packagesearch version File versions

void PackageSearchImpl::addInformationPluginToGui ( NPlugin::InformationPlugin pPlugin  )  [protected]

Adds the elements of the information plugin to the GUI.

Precondition:
pPlugin != 0

Definition at line 405 of file packagesearchimpl.cpp.

References NPlugin::InformationPlugin::informationWidget(), and NPlugin::InformationPlugin::informationWidgetTitle().

Referenced by updateInformationPluginGui().

{
      assert(pPlugin);
      if (pPlugin->informationWidget() != 0)    // if there is a special information widget
      {
            // insert the widget
            _pInformationContainer->insertTab(
                  pPlugin->informationWidget(), 
                  pPlugin->informationWidgetTitle()
            );
      }
}


Generated by  Doxygen 1.6.0   Back to index