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

kdeui

KAboutWidget Class Reference

KAboutWidget is the main widget for KAboutDialog. More...

#include <kaboutdialog.h>

Inheritance diagram for KAboutWidget:

Inheritance graph
[legend]

List of all members.


Signals

void openURL (const QString &url)
void sendEmail (const QString &name, const QString &email)

Public Member Functions

void addContributor (const QString &name, const QString &email, const QString &url, const QString &work)
void adjust ()
 KAboutWidget (QWidget *parent=0, const char *name=0)
void setAuthor (const QString &name, const QString &email, const QString &url, const QString &work)
void setLogo (const QPixmap &)
void setMaintainer (const QString &name, const QString &email, const QString &url, const QString &work)
void setVersion (const QString &name)

Protected Slots

void openURLSlot (const QString &url)
void sendEmailSlot (const QString &name, const QString &email)

Protected Member Functions

void resizeEvent (QResizeEvent *)

Protected Attributes

KAboutContributor * author
QLabel * cont
QPtrList< KAboutContributor > contributors
QLabel * logo
KAboutContributor * maintainer
bool showMaintainer
QLabel * version

Detailed Description

KAboutWidget is the main widget for KAboutDialog.

It has a minimum size set.

Definition at line 150 of file kaboutdialog.h.


Constructor & Destructor Documentation

KAboutWidget::KAboutWidget ( QWidget *  parent = 0,
const char *  name = 0 
)

The Qt constructor.

Definition at line 1308 of file kaboutdialog.cpp.


Member Function Documentation

void KAboutWidget::addContributor ( const QString &  name,
const QString &  email,
const QString &  url,
const QString &  work 
)

Shows this person as one of the major contributors.

Definition at line 1431 of file kaboutdialog.cpp.

void KAboutWidget::adjust (  ) 

Adjust the minimum size (after setting the properties of the image and the labels.

Definition at line 1344 of file kaboutdialog.cpp.

void KAboutWidget::openURL ( const QString &  url  )  [signal]

An URL has been clicked.

void KAboutWidget::openURLSlot ( const QString &  url  )  [protected, slot]

Catches the clicked URLs.

Definition at line 1400 of file kaboutdialog.cpp.

void KAboutWidget::resizeEvent ( QResizeEvent *   )  [protected]

The resize event.

Reimplemented from QWidget.

Definition at line 1457 of file kaboutdialog.cpp.

void KAboutWidget::sendEmail ( const QString &  name,
const QString &  email 
) [signal]

An email address has been selected by the user.

void KAboutWidget::sendEmailSlot ( const QString &  name,
const QString &  email 
) [protected, slot]

Catches the signals from the contributors elements.

Definition at line 1395 of file kaboutdialog.cpp.

void KAboutWidget::setAuthor ( const QString &  name,
const QString &  email,
const QString &  url,
const QString &  work 
)

Sets the author's name and email address.

Definition at line 1406 of file kaboutdialog.cpp.

void KAboutWidget::setLogo ( const QPixmap &  i  ) 

Sets the image as the application logo.

Definition at line 1388 of file kaboutdialog.cpp.

void KAboutWidget::setMaintainer ( const QString &  name,
const QString &  email,
const QString &  url,
const QString &  work 
)

Sets the maintainers name and email address.

Definition at line 1418 of file kaboutdialog.cpp.

void KAboutWidget::setVersion ( const QString &  name  ) 

Sets the text describing the version.

Definition at line 1449 of file kaboutdialog.cpp.


Member Data Documentation

KAboutContributor* KAboutWidget::author [protected]

The application developer.

Definition at line 232 of file kaboutdialog.h.

QLabel* KAboutWidget::cont [protected]

The label showing the text "Other contributors:".

Definition at line 224 of file kaboutdialog.h.

QPtrList<KAboutContributor> KAboutWidget::contributors [protected]

A set of people who contributed to the application.

Definition at line 244 of file kaboutdialog.h.

QLabel* KAboutWidget::logo [protected]

The frame showing the logo.

Definition at line 228 of file kaboutdialog.h.

KAboutContributor* KAboutWidget::maintainer [protected]

The application maintainer.

Definition at line 236 of file kaboutdialog.h.

bool KAboutWidget::showMaintainer [protected]

Show the maintainer?

Definition at line 240 of file kaboutdialog.h.

QLabel* KAboutWidget::version [protected]

The label showing the program version.

Definition at line 220 of file kaboutdialog.h.


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

kdeui

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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