URLButton Class Reference

#include <urlbutton.h>

Inheritance diagram for URLButton:
PanelButton KickerTip::Client

List of all members.

Public Member Functions

 URLButton (const TQString &url, TQWidget *parent)
 URLButton (const KConfigGroup &config, TQWidget *parent)
void saveConfig (KConfigGroup &config) const
virtual void properties ()

Protected Slots

void slotExec ()
void updateURL ()

Protected Member Functions

void initialize (const TQString &url)
virtual TQString tileName ()
virtual void startDrag ()
virtual void dropEvent (TQDropEvent *)
virtual void dragEnterEvent (TQDragEnterEvent *)
void setToolTip ()

Protected Attributes

KFileItem * fileItem
KPropertiesDialog * pDlg

Detailed Description

Simple URL button (files, whatever)


Member Function Documentation

void URLButton::properties (  )  [virtual]

Reimplement this to display a properties dialog for your button.

Reimplemented from PanelButton.

void URLButton::saveConfig ( KConfigGroup &   )  const [virtual]

Prompts the button to save it's configuration. Subclass specific settings should be saved in this method to the KConfigGroup passed in.

Reimplemented from PanelButton.

void URLButton::startDrag (  )  [protected, virtual]

Emits a signal to drag the button. Reimplement this if, for example, if you need the button to call dragme(KURL::List, const TQPixmap) instead of dragme(const TQPixmap)

Reimplemented from PanelButton.

virtual TQString URLButton::tileName (  )  [inline, protected, virtual]

Subclasses must implement this to define the name of the button which is used to identify this button for saving and loading. It must be unique to the subclass, should not be i18n'd and is never made user visible. KDE4: remove this and use the classname directly instead.

Implements PanelButton.


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

Generated on Sat Oct 2 23:01:18 2010 by  doxygen 1.6.1