Logo Search packages:      
Sourcecode: packagesearch version File versions

NPlugin::DebtagsPlugin Class Reference

#include <debtagsplugin.h>

Inheritance diagram for NPlugin::DebtagsPlugin:

NPlugin::InformationPlugin NPlugin::Plugin NPlugin::Plugin

List of all members.

Detailed Description

This plugin offers search by tags

Benjamin Mesing

Definition at line 36 of file debtagsplugin.h.


void searchChanged (NPlugin::SearchPlugin *pPlugin)

Public Member Functions

void debtagsDataChanged ()
 This can be used to notify the plugin that the debtags data in the plugin container (i.e. the tag collection and the vocabulary) has changed.
 DebtagsPlugin (const DebtagsPluginContainer &container)
Plugin Interface
Implementation of the PluginInterface

virtual QString briefDescription () const
virtual QString description () const
virtual void init (IProvider *pProvider)
 Initializes the plugin.
virtual void setEnabled (bool enabled)
virtual void setVisible (bool visible)
virtual QString title () const
 Returns the title of the plugin, this is how it will be shown in configuration dialogs or similar.
InformationPlugin interface
Implementation of the InformationPlugin interface

virtual void clearInformationWidget ()
virtual uint informationPriority () const
 Returns the priority of this information plugin.
virtual QString informationText (int packageID)
virtual QWidget * informationWidget () const
virtual QString informationWidgetTitle () const
virtual bool offersInformationText () const
virtual void updateInformationWidget (int packageID)
SearchPlugin interface
try to remove malformed descriptions

Implementation of the SearchPlugin interface

virtual void clearSearch ()
virtual bool filterPackage (int packageID) const
virtual QWidget * inputWidget () const
 Returns a widget where you can select the debtags you want to in- and exclude.
virtual QString inputWidgetTitle () const
 Returns "Debtags".
virtual bool isInactive () const
virtual uint searchPriority () const
virtual const Tagcoll::OpSet
< int > & 
searchResult () const
virtual QWidget * shortInputAndFeedbackWidget () const
virtual bool usesFilterTechnique () const

Protected Slots

void evaluateSearch ()
void setWidgetsEnabled (bool enabled)
 This enables/ disables the visible widgets.
void showExcludeWidgets (bool display)
 This shows or hides the exclude widgets.

Static Protected Attributes

static const QString _emptyString

Private Member Functions

std::string createSearchExpression ()
 This shows or hides the exclude display elements.

Private Attributes

const DebtagsPluginContainer_container
bool _isInactive
TagChooserWidget * _pChooserWidget
Tagcoll::HandleMaker< string > * _pHandleMaker
 This holds a link to the manager which manages the plugin.
ChoosenTagsDisplay * _pTagsDisplay
Tagcoll::OpSet< int > _searchResult

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index