• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Applets

Plasma::HistoryComboBox

Plasma::HistoryComboBox Class Reference

#include <historycombobox.h>

Inheritance diagram for Plasma::HistoryComboBox:

Inheritance graph
[legend]

List of all members.


Public Slots

void addToHistory (const QString &item)

Signals

void activated (int index)
void cleared ()
void returnPressed ()
void returnPressed (const QString &)
void textChanged (const QString &)

Public Member Functions

QString currentText () const
 HistoryComboBox (QGraphicsWidget *parent=0)
QStringList historyItems () const
void insertUrl (int index, const KUrl &url)
KHistoryComboBox * nativeWidget () const
bool removeFromHistory (const QString &item)
void reset ()
void setDuplicatesEnabled (bool enabled)
void setHistoryItems (const QStringList &items)
void setStylesheet (const QString &stylesheet)
QString stylesheet ()
 ~HistoryComboBox ()

Protected Member Functions

void resizeEvent (QGraphicsSceneResizeEvent *event)

Properties

KHistoryComboBox nativeWidget
QGraphicsWidget parentWidget
QString stylesheet

Detailed Description

Definition at line 35 of file historycombobox.h.


Constructor & Destructor Documentation

Plasma::HistoryComboBox::HistoryComboBox ( QGraphicsWidget *  parent = 0  )  [explicit]

Definition at line 44 of file historycombobox.cpp.

Plasma::HistoryComboBox::~HistoryComboBox (  ) 

Definition at line 64 of file historycombobox.cpp.


Member Function Documentation

void Plasma::HistoryComboBox::activated ( int  index  )  [signal]

void Plasma::HistoryComboBox::addToHistory ( const QString &  item  )  [slot]

Definition at line 125 of file historycombobox.cpp.

void Plasma::HistoryComboBox::cleared (  )  [signal]

QString Plasma::HistoryComboBox::currentText (  )  const

Definition at line 110 of file historycombobox.cpp.

QStringList Plasma::HistoryComboBox::historyItems (  )  const

Definition at line 90 of file historycombobox.cpp.

void Plasma::HistoryComboBox::insertUrl ( int  index,
const KUrl &  url 
)

Definition at line 115 of file historycombobox.cpp.

KHistoryComboBox* Plasma::HistoryComboBox::nativeWidget (  )  const

Returns:
the native widget wrapped by this TextEdit

bool Plasma::HistoryComboBox::removeFromHistory ( const QString &  item  ) 

Definition at line 95 of file historycombobox.cpp.

void Plasma::HistoryComboBox::reset (  ) 

Definition at line 100 of file historycombobox.cpp.

void Plasma::HistoryComboBox::resizeEvent ( QGraphicsSceneResizeEvent *  event  )  [protected]

Definition at line 85 of file historycombobox.cpp.

void Plasma::HistoryComboBox::returnPressed (  )  [signal]

void Plasma::HistoryComboBox::returnPressed ( const QString &   )  [signal]

void Plasma::HistoryComboBox::setDuplicatesEnabled ( bool  enabled  ) 

Definition at line 120 of file historycombobox.cpp.

void Plasma::HistoryComboBox::setHistoryItems ( const QStringList &  items  ) 

Definition at line 105 of file historycombobox.cpp.

void Plasma::HistoryComboBox::setStylesheet ( const QString &  stylesheet  ) 

Sets the style sheet used to control the visual display of this TextEdit.

  • stylehseet a CSS string

Definition at line 70 of file historycombobox.cpp.

QString Plasma::HistoryComboBox::stylesheet (  ) 

Returns:
the stylesheet currently used with this widget

void Plasma::HistoryComboBox::textChanged ( const QString &   )  [signal]


Property Documentation

KHistoryComboBox * Plasma::HistoryComboBox::nativeWidget [read]

Definition at line 41 of file historycombobox.h.

QGraphicsWidget Plasma::HistoryComboBox::parentWidget [read]

Definition at line 39 of file historycombobox.h.

QString Plasma::HistoryComboBox::stylesheet [read, write]

Definition at line 40 of file historycombobox.h.


The documentation for this class was generated from the following files:
  • historycombobox.h
  • historycombobox.cpp

Applets

Skip menu "Applets"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal