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

KDEUI

KRockerGesture Class Reference

#include <kgesture.h>

List of all members.


Detailed Description

Definition at line 152 of file kgesture.h.


Public Member Functions

void getButtons (Qt::MouseButton *hold, Qt::MouseButton *thenPush) const
uint hashable () const
bool isValid () const
 KRockerGesture (const KRockerGesture &other)
 KRockerGesture (const QString &description)
 KRockerGesture (enum Qt::MouseButton hold, enum Qt::MouseButton thenPush)
 KRockerGesture ()
bool operator!= (const KRockerGesture &other) const
KRockerGesture & operator= (const KRockerGesture &other)
bool operator== (const KRockerGesture &other) const
QString rockerName () const
void setButtons (Qt::MouseButton hold, Qt::MouseButton thenPush)
QString toString () const
 ~KRockerGesture ()

Static Public Member Functions

static QString mouseButtonName (Qt::MouseButton button)

Constructor & Destructor Documentation

KRockerGesture::KRockerGesture (  ) 

Create a new invalid rocker gesture.

Definition at line 416 of file kgesture.cpp.

KRockerGesture::KRockerGesture ( enum Qt::MouseButton  hold,
enum Qt::MouseButton  thenPush 
)

Creates a new gesture consisting of given buttons.

Parameters:
description create gesture according to this

Definition at line 422 of file kgesture.cpp.

KRockerGesture::KRockerGesture ( const QString &  description  ) 

Creates a new gesture from a string description.

Parameters:
description create gesture according to this

Definition at line 429 of file kgesture.cpp.

KRockerGesture::KRockerGesture ( const KRockerGesture &  other  ) 

Copies the given gesture.

Parameters:
other gesture to copy

Definition at line 464 of file kgesture.cpp.

KRockerGesture::~KRockerGesture (  ) 

Destructor.

Definition at line 470 of file kgesture.cpp.


Member Function Documentation

void KRockerGesture::getButtons ( Qt::MouseButton *  hold,
Qt::MouseButton *  thenPush 
) const

Write the button combination to hold and thenPush.

Definition at line 506 of file kgesture.cpp.

uint KRockerGesture::hashable (  )  const

Return an opaque value for use in hash tables.

Definition at line 602 of file kgesture.cpp.

bool KRockerGesture::isValid (  )  const

Return true if this gesture is valid.

Definition at line 544 of file kgesture.cpp.

QString KRockerGesture::mouseButtonName ( Qt::MouseButton  button  )  [static]

Return a user-friendly name for the mouse button button.

Definition at line 513 of file kgesture.cpp.

bool KRockerGesture::operator!= ( const KRockerGesture &  other  )  const

Return the opposite of operator==().

Definition at line 597 of file kgesture.cpp.

KRockerGesture & KRockerGesture::operator= ( const KRockerGesture &  other  ) 

Set this gesture to the other gesture.

Definition at line 584 of file kgesture.cpp.

bool KRockerGesture::operator== ( const KRockerGesture &  other  )  const

Return whether this gesture is equal to the other gesture.

Definition at line 592 of file kgesture.cpp.

QString KRockerGesture::rockerName (  )  const

Return a user-friendly name of the button combination.

Definition at line 532 of file kgesture.cpp.

void KRockerGesture::setButtons ( Qt::MouseButton  hold,
Qt::MouseButton  thenPush 
)

set button combination to trigger

Definition at line 476 of file kgesture.cpp.

QString KRockerGesture::toString (  )  const

Return a string representation of this gesture.

Return an empty string if invalid. This function is mainly for use with config files.

See also:
rockerName()

Definition at line 550 of file kgesture.cpp.


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

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs 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