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

libplasma

Plasma::LineEdit

Plasma::LineEdit Class Reference

#include <lineedit.h>

Inheritance diagram for Plasma::LineEdit:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 35 of file lineedit.h.


Signals

void editingFinished ()
void returnPressed ()
void textEdited (const QString &text)

Public Member Functions

 LineEdit (QGraphicsWidget *parent=0)
KLineEdit * nativeWidget () const
void setStyleSheet (const QString &stylesheet)
void setText (const QString &text)
QString styleSheet ()
QString text () const
 ~LineEdit ()

Properties

KLineEdit nativeWidget
QGraphicsWidget parentWidget
QString stylesheet
QString text

Constructor & Destructor Documentation

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

Definition at line 45 of file lineedit.cpp.

Plasma::LineEdit::~LineEdit (  ) 

Definition at line 57 of file lineedit.cpp.


Member Function Documentation

void Plasma::LineEdit::editingFinished (  )  [signal]

KLineEdit* Plasma::LineEdit::nativeWidget (  )  const

Returns:
the native widget wrapped by this LineEdit

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

void Plasma::LineEdit::setStyleSheet ( const QString &  stylesheet  ) 

Sets the stylesheet used to control the visual display of this LineEdit.

  • stylesheet a CSS string

Definition at line 72 of file lineedit.cpp.

void Plasma::LineEdit::setText ( const QString &  text  ) 

Sets the display text for this LineEdit.

  • text the text to display; should be translated.

Definition at line 62 of file lineedit.cpp.

QString Plasma::LineEdit::styleSheet (  ) 

Returns:
the stylesheet currently used with this widget

Definition at line 77 of file lineedit.cpp.

QString Plasma::LineEdit::text (  )  const

Returns:
the display text

void Plasma::LineEdit::textEdited ( const QString &  text  )  [signal]


Property Documentation

KLineEdit * Plasma::LineEdit::nativeWidget [read]

Definition at line 42 of file lineedit.h.

QGraphicsWidget Plasma::LineEdit::parentWidget [read]

Definition at line 39 of file lineedit.h.

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

Definition at line 41 of file lineedit.h.

QString Plasma::LineEdit::text [read, write]

Definition at line 40 of file lineedit.h.


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

libplasma

Skip menu "libplasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
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