• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Types | Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
TDEAboutDialog Class Reference

#include <tdeaboutdialog.h>

Inheritance diagram for TDEAboutDialog:
KDialogBase KDialog TDEAboutApplication TDEAboutKDE

Public Types

enum  LayoutType {
  AbtPlain = 0x0001 , AbtTabbed = 0x0002 , AbtTitle = 0x0004 , AbtImageLeft = 0x0008 ,
  AbtImageRight = 0x0010 , AbtImageOnly = 0x0020 , AbtProduct = 0x0040 , AbtKDEStandard = AbtTabbed|AbtTitle|AbtImageLeft ,
  AbtAppStandard = AbtTabbed|AbtTitle|AbtProduct , AbtImageAndTitle = AbtPlain|AbtTitle|AbtImageOnly
}
 
- Public Types inherited from KDialogBase
enum  ButtonCode {
  Help = 0x00000001 , Default = 0x00000002 , Ok = 0x00000004 , Apply = 0x00000008 ,
  Try = 0x00000010 , Cancel = 0x00000020 , Close = 0x00000040 , User1 = 0x00000080 ,
  User2 = 0x00000100 , User3 = 0x00000200 , No = 0x00000080 , Yes = 0x00000100 ,
  Details = 0x00000400 , Filler = 0x40000000 , Stretch = 0x80000000 , NoDefault
}
 
enum  ActionButtonStyle {
  ActionStyle0 =0 , ActionStyle1 , ActionStyle2 , ActionStyle3 ,
  ActionStyle4 , ActionStyleMAX
}
 
enum  DialogType {
  TreeList = KJanusWidget::TreeList , Tabbed = KJanusWidget::Tabbed , Plain = KJanusWidget::Plain , Swallow = KJanusWidget::Swallow ,
  IconList = KJanusWidget::IconList
}
 

Signals

void sendEmail (const TQString &name, const TQString &email)
 
void openURL (const TQString &url)
 
- Signals inherited from KDialogBase
void helpClicked ()
 
void defaultClicked ()
 
void user3Clicked ()
 
void user2Clicked ()
 
void user1Clicked ()
 
void applyClicked ()
 
void tryClicked ()
 
void okClicked ()
 
void yesClicked ()
 
void noClicked ()
 
void cancelClicked ()
 
void closeClicked ()
 
void apply ()
 
void backgroundChanged ()
 
void hidden ()
 
void finished ()
 
void aboutToShowDetails ()
 
void aboutToShowPage (TQWidget *page)
 
- Signals inherited from KDialog
void layoutHintChanged ()
 

Public Member Functions

 TDEAboutDialog (TQWidget *parent=0, const char *name=0, bool modal=true)
 
 TDEAboutDialog (int dialogLayout, const TQString &caption, int buttonMask, ButtonCode defaultButton, TQWidget *parent=0, const char *name=0, bool modal=false, bool separator=false, const TQString &user1=TQString::null, const TQString &user2=TQString::null, const TQString &user3=TQString::null)
 
void adjust ()
 
virtual void show (void)
 
virtual void show (TQWidget *centerParent)
 
void setTitle (const TQString &title)
 
void setImage (const TQString &fileName)
 
void setIcon (const TQString &fileName) TDE_DEPRECATED
 
void setProgramLogo (const TQString &fileName)
 
void setProgramLogo (const TQPixmap &pixmap)
 
void setImageBackgroundColor (const TQColor &color)
 
void setImageFrame (bool state)
 
void setProduct (const TQString &appName, const TQString &version, const TQString &author, const TQString &year)
 
TQFrame * addTextPage (const TQString &title, const TQString &text, bool richText=false, int numLines=10)
 
TQFrame * addLicensePage (const TQString &title, const TQString &text, int numLines=10)
 
TDEAboutContainer * addContainerPage (const TQString &title, int childAlignment=AlignCenter, int innerAlignment=AlignCenter)
 
TDEAboutContainer * addScrolledContainerPage (const TQString &title, int childAlignment=AlignCenter, int innerAlignment=AlignCenter)
 
TDEAboutContainer * addContainer (int childAlignment, int innerAlignment)
 
TQFrame * addPage (const TQString &title)
 
void setLogo (const TQPixmap &)
 
void setAuthor (const TQString &name, const TQString &email, const TQString &url, const TQString &work)
 
void setMaintainer (const TQString &name, const TQString &email, const TQString &url, const TQString &work)
 
void addContributor (const TQString &name, const TQString &email, const TQString &url, const TQString &work)
 
void setVersion (const TQString &name)
 
- Public Member Functions inherited from KDialogBase
 KDialogBase (TQWidget *parent=0, const char *name=0, bool modal=true, const TQString &caption=TQString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem())
 
 KDialogBase (int dialogFace, const TQString &caption, int buttonMask, ButtonCode defaultButton, TQWidget *parent=0, const char *name=0, bool modal=true, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem())
 
 KDialogBase (KDialogBase::DialogType dialogFace, WFlags f, TQWidget *parent=0, const char *name=0, bool modal=true, const TQString &caption=TQString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem())
 
 KDialogBase (const TQString &caption, int buttonMask=Yes|No|Cancel, ButtonCode defaultButton=Yes, ButtonCode escapeButton=Cancel, TQWidget *parent=0, const char *name=0, bool modal=true, bool separator=false, const KGuiItem &yes=KStdGuiItem::yes(), const KGuiItem &no=KStdGuiItem::no(), const KGuiItem &cancel=KStdGuiItem::cancel())
 
 ~KDialogBase ()
 
void setButtonBoxOrientation (int orientation)
 
void setEscapeButton (ButtonCode id)
 
virtual void adjustSize ()
 
virtual TQSize sizeHint () const
 
virtual TQSize minimumSizeHint () const
 
TQFrame * plainPage ()
 
TQFrame * addPage (const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
TQFrame * addPage (const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
TQVBox * addVBoxPage (const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
TQVBox * addVBoxPage (const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
TQHBox * addHBoxPage (const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
TQHBox * addHBoxPage (const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
TQGrid * addGridPage (int n, Orientation dir, const TQString &itemName, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
TQGrid * addGridPage (int n, Orientation dir, const TQStringList &items, const TQString &header=TQString::null, const TQPixmap &pixmap=TQPixmap())
 
void setFolderIcon (const TQStringList &path, const TQPixmap &pixmap)
 
TQFrame * makeMainWidget ()
 
TQVBox * makeVBoxMainWidget ()
 
TQHBox * makeHBoxMainWidget ()
 
TQGrid * makeGridMainWidget (int n, Orientation dir)
 
void enableButtonSeparator (bool state)
 
void showButton (ButtonCode id, bool state)
 
void showButtonOK (bool state)
 
void showButtonApply (bool state)
 
void showButtonCancel (bool state)
 
bool showPage (int index)
 
int activePageIndex () const
 
int pageIndex (TQWidget *widget) const
 
void setMainWidget (TQWidget *widget)
 
TQWidget * mainWidget ()
 
void disableResize ()
 
void setInitialSize (const TQSize &s, bool noResize=false)
 
void incInitialSize (const TQSize &s, bool noResize=false)
 
TQSize configDialogSize (const TQString &groupName) const
 
TQSize configDialogSize (TDEConfig &config, const TQString &groupName) const
 
void saveDialogSize (const TQString &groupName, bool global=false)
 
void saveDialogSize (TDEConfig &config, const TQString &groupName, bool global=false) const
 
void setButtonOK (const KGuiItem &item=KStdGuiItem::ok())
 
void setButtonOKText (const TQString &text=TQString::null, const TQString &tooltip=TQString::null, const TQString &quickhelp=TQString::null) TDE_DEPRECATED
 
void setButtonApply (const KGuiItem &item=KStdGuiItem::apply())
 
void setButtonApplyText (const TQString &text=TQString::null, const TQString &tooltip=TQString::null, const TQString &quickhelp=TQString::null) TDE_DEPRECATED
 
void setButtonCancel (const KGuiItem &item=KStdGuiItem::cancel())
 
void setButtonCancelText (const TQString &text=TQString::null, const TQString &tooltip=TQString::null, const TQString &quickhelp=TQString::null) TDE_DEPRECATED
 
void setButtonText (ButtonCode id, const TQString &text)
 
void setButtonTip (ButtonCode id, const TQString &text)
 
void setButtonWhatsThis (ButtonCode id, const TQString &text)
 
void setButtonGuiItem (ButtonCode id, const KGuiItem &item)
 
void setTreeListAutoResize (bool state)
 
void setShowIconsInTreeList (bool state)
 
void setRootIsDecorated (bool state)
 
void unfoldTreeList (bool persist=false)
 
void addWidgetBelowList (TQWidget *widget)
 
void addButtonBelowList (const TQString &text, TQObject *recv, const char *slot)
 
void addButtonBelowList (const KGuiItem &guiitem, TQObject *recv, const char *slot)
 
void setIconListAllVisible (bool state)
 
void showTile (bool state)
 
void getBorderWidths (int &ulx, int &uly, int &lrx, int &lry) const TDE_DEPRECATED
 
TQRect getContentsRect () const TDE_DEPRECATED
 
TQSize calculateSize (int w, int h) const
 
TQString helpLinkText () const
 
TQPushButton * actionButton (ButtonCode id)
 
- Public Member Functions inherited from KDialog
 KDialog (TQWidget *parent=0, const char *name=0, bool modal=false, WFlags f=0)
 

Static Public Member Functions

static void imageURL (TQWidget *parent, const TQString &caption, const TQString &path, const TQColor &imageColor, const TQString &url)
 
- Static Public Member Functions inherited from KDialogBase
static bool haveBackgroundTile ()
 
static const TQPixmap * backgroundTile ()
 
static const TQPixmap * getBackgroundTile () TDE_DEPRECATED
 
static void setBackgroundTile (const TQPixmap *pix)
 
- Static Public Member Functions inherited from KDialog
static int marginHint ()
 
static int spacingHint ()
 
static void resizeLayout (TQWidget *widget, int margin, int spacing)
 
static void resizeLayout (TQLayoutItem *lay, int margin, int spacing)
 
static void centerOnScreen (TQWidget *widget, int screen=-1)
 
static bool avoidArea (TQWidget *widget, const TQRect &area, int screen=-1)
 

Protected Slots

void sendEmailSlot (const TQString &name, const TQString &email)
 
void openURLSlot (const TQString &url)
 
virtual void mouseTrackSlot (int mode, const TQMouseEvent *e)
 
- Protected Slots inherited from KDialogBase
virtual void slotHelp ()
 
virtual void slotDefault ()
 
virtual void slotDetails ()
 
virtual void slotUser3 ()
 
virtual void slotUser2 ()
 
virtual void slotUser1 ()
 
virtual void slotOk ()
 
virtual void slotApply ()
 
virtual void slotTry ()
 
virtual void slotYes ()
 
virtual void slotNo ()
 
virtual void slotCancel ()
 
virtual void slotClose ()
 
virtual void applyPressed ()
 
void updateGeometry ()
 
void slotDelayedDestruct ()
 

Protected Member Functions

virtual void virtual_hook (int id, void *data)
 
- Protected Member Functions inherited from KDialogBase
virtual void keyPressEvent (TQKeyEvent *e)
 
virtual void hideEvent (TQHideEvent *)
 
virtual void closeEvent (TQCloseEvent *e)
 
virtual void virtual_hook (int id, void *data)
 
virtual void keyPressEvent (TQKeyEvent *)
 
virtual void virtual_hook (int id, void *data)
 

Protected Attributes

TDEAboutWidget * about
 
TDEAboutContainerBase * mContainerBase
 

Additional Inherited Members

- Public Slots inherited from KDialogBase
void enableButton (ButtonCode id, bool state)
 
void enableButtonOK (bool state)
 
void enableButtonApply (bool state)
 
void enableButtonCancel (bool state)
 
void enableLinkedHelp (bool state)
 
void delayedDestruct ()
 
void setHelpLinkText (const TQString &text)
 
void setHelp (const TQString &anchor, const TQString &appname=TQString::null)
 
void helpClickedSlot (const TQString &)
 
void setDetails (bool showDetails)
 
void setDetailsWidget (TQWidget *detailsWidget)
 
void updateBackground ()
 
void cancel ()
 
- Public Slots inherited from KDialog
virtual void polish ()
 
virtual void setCaption (const TQString &caption)
 
virtual void setPlainCaption (const TQString &caption)
 

Detailed Description

A KDialogBase with predefined main widget.

As a KDialogBase it uses your application wide settings for KDialogBase objects (base frame tiles, main frame tiles etc). To use it, simply create a TDEAboutDialog object, set all (or some) of its properties and show it. Do not derive it to create your own about dialog until you need some cool features that are unsupported and you have contacted me to add them.

The dialog can be created using two different constructors. The difference between these constructors is the available components that can be used to build the contents of the dialog. The first (Constructor I) provides a number of easy to use methods. Basically it allows you to add the components of choice, and the components are placed in a predefined layout. You do not have to plan the layout. Everything is taken care of.

The second constructor (Constructor II) works in quite the same manner as the first, but you have better control on where the components are postioned in the layout and you have access to an extended number of components you can install such as titles, product information, a tabbed pages (where you can display rich text with url links) and a person (developer) information field. The "About KDE" dialog box is created with Constructor II.

For the derived features, see the basic class KDialogBase.

Author
Mirko Boehm (mirko.nosp@m.@kde.nosp@m..org) and Espen Sand (espen.nosp@m.sa@o.nosp@m.nline.nosp@m..no)
See also
KDialogBase

Definition at line 283 of file tdeaboutdialog.h.

Member Enumeration Documentation

◆ LayoutType

enum TDEAboutDialog::LayoutType

Layout formats.

Definition at line 291 of file tdeaboutdialog.h.

Constructor & Destructor Documentation

◆ TDEAboutDialog() [1/2]

TDEAboutDialog::TDEAboutDialog ( TQWidget *  parent = 0,
const char *  name = 0,
bool  modal = true 
)

The standard Qt constructor (Constructor I).

Add components with the following methods: setLogo(), setAuthor(), setMaintainer(), addContributor(), or setVersion(). The dialog will be laid out automatically.

Definition at line 1506 of file tdeaboutdialog.cpp.

◆ TDEAboutDialog() [2/2]

TDEAboutDialog::TDEAboutDialog ( int  dialogLayout,
const TQString &  caption,
int  buttonMask,
ButtonCode  defaultButton,
TQWidget *  parent = 0,
const char *  name = 0,
bool  modal = false,
bool  separator = false,
const TQString &  user1 = TQString::null,
const TQString &  user2 = TQString::null,
const TQString &  user3 = TQString::null 
)

The extended constructor.

(Constructor II).

Add components with the methods: setTitle(), setImage(), setImageBackgroundColor(), setImageFrame(), setProduct(), addTextPage(), addContainerPage(), addContainer(), or addPage().

Parameters
dialogLayoutUse a mask of LayoutType flags.
captionThe dialog caption. The text you specify is prepended by i18n("About").
buttonMaskSpecifies what buttons will be visible.
defaultButtonSpecifies what button will be marked as the default.
parentParent of the dialog.
nameDialog name (for internal use only)
modalSets dialog modality. If false, the rest of the program interface (other dialogs, for example) is accessible while the dialog is open.
separatorIf true, a separator line is drawn between the action buttons an the main widget.
user1User button1 text.
user2User button2 text.
user3User button3 text.

Definition at line 1526 of file tdeaboutdialog.cpp.

Member Function Documentation

◆ addContainer()

TDEAboutContainer * TDEAboutDialog::addContainer ( int  childAlignment,
int  innerAlignment 
)

(Constructor II only) Adds a container.

You can add text and images to a container.

Parameters
childAlignmentSpecifies how the children of the container are aligned with respect to the container.
innerAlignmentSpecifies how the children are aligned with respect to each other.
Returns
The new container.

Definition at line 1683 of file tdeaboutdialog.cpp.

◆ addContainerPage()

TDEAboutContainer * TDEAboutDialog::addContainerPage ( const TQString &  title,
int  childAlignment = AlignCenter,
int  innerAlignment = AlignCenter 
)

(Constructor II only) Adds a container to a tab box.

You can add text and images to a container.

Parameters
titleTab name.
childAlignmentSpecifies how the children of the container are aligned with respect to the container.
innerAlignmentSpecifies how the children are aligned with respect to each other.
Returns
The new container.

Definition at line 1657 of file tdeaboutdialog.cpp.

◆ addContributor()

void TDEAboutDialog::addContributor ( const TQString &  name,
const TQString &  email,
const TQString &  url,
const TQString &  work 
)

(Constructor I only) Show this person as one of the major contributors.

Definition at line 1599 of file tdeaboutdialog.cpp.

◆ addLicensePage()

TQFrame * TDEAboutDialog::addLicensePage ( const TQString &  title,
const TQString &  text,
int  numLines = 10 
)

(Constructor II only) Adds a license page to a tab box.

Parameters
titleTab name.
textThe text to display.
numLinesThe text area height will be adjusted so that this is the minimum number of lines of text that are visible.
Returns
The frame that contains the page.

Definition at line 1649 of file tdeaboutdialog.cpp.

◆ addPage()

TQFrame * TDEAboutDialog::addPage ( const TQString &  title)

(Constructor II only) Adds an empty page to a tab box.

Parameters
titleTab name
Returns
The new page.

Definition at line 1676 of file tdeaboutdialog.cpp.

◆ addScrolledContainerPage()

TDEAboutContainer * TDEAboutDialog::addScrolledContainerPage ( const TQString &  title,
int  childAlignment = AlignCenter,
int  innerAlignment = AlignCenter 
)

(Constructor II only) Adds a container inside a TQScrollView to a tab box.

You can add text and images to a container.

Parameters
titleTab name.
childAlignmentSpecifies how the children of the container are aligned with respect to the container.
innerAlignmentSpecifies how the children are aligned with respect to each other.
Returns
The new container.

Definition at line 1666 of file tdeaboutdialog.cpp.

◆ addTextPage()

TQFrame * TDEAboutDialog::addTextPage ( const TQString &  title,
const TQString &  text,
bool  richText = false,
int  numLines = 10 
)

(Constructor II only) Adds a text page to a tab box.

The text can be regular text or rich text. The rich text can contain URLs and mail links.

Parameters
titleTab name.
textThe text to display.
richTextSet this to true if 'text' is rich text.
numLinesThe text area height will be adjusted so that this is the minimum number of lines of text that are visible.
Returns
The frame that contains the page.

Definition at line 1642 of file tdeaboutdialog.cpp.

◆ adjust()

void TDEAboutDialog::adjust ( )

Adjusts the dialog.

You can call this method after you have set up all the contents but it is not required. It is done automatically when show() is executed.

Definition at line 1565 of file tdeaboutdialog.cpp.

◆ imageURL()

void TDEAboutDialog::imageURL ( TQWidget *  parent,
const TQString &  caption,
const TQString &  path,
const TQColor &  imageColor,
const TQString &  url 
)
static

Create a modal dialog with an image in the upper area with a URL link below.

Definition at line 1746 of file tdeaboutdialog.cpp.

◆ mouseTrackSlot

void TDEAboutDialog::mouseTrackSlot ( int  mode,
const TQMouseEvent *  e 
)
protectedvirtualslot

(Constructor II only) Tells the position of the mouse cursor when the left mouse button is pressed above an image

Definition at line 1636 of file tdeaboutdialog.cpp.

◆ openURL

void TDEAboutDialog::openURL ( const TQString &  url)
signal

Open the selected URL.

◆ openURLSlot

void TDEAboutDialog::openURLSlot ( const TQString &  url)
protectedslot

Open this URL.

Definition at line 1627 of file tdeaboutdialog.cpp.

◆ sendEmail

void TDEAboutDialog::sendEmail ( const TQString &  name,
const TQString &  email 
)
signal

Send an email to this person.

The application must provide the functionality.

◆ sendEmailSlot

void TDEAboutDialog::sendEmailSlot ( const TQString &  name,
const TQString &  email 
)
protectedslot

Connected to widget->sendEmail.

Definition at line 1616 of file tdeaboutdialog.cpp.

◆ setAuthor()

void TDEAboutDialog::setAuthor ( const TQString &  name,
const TQString &  email,
const TQString &  url,
const TQString &  work 
)

(Constructor I only) Sets the author's name and email address.

Definition at line 1590 of file tdeaboutdialog.cpp.

◆ setIcon()

void TDEAboutDialog::setIcon ( const TQString &  fileName)

(Constructor II only) Define the program logo to be shown in the dialog.

Use this to override the default program logo. For example, use this function if the TDEAboutDialog is for a panel applet and you want to override the appletproxy logo with your own pixmap.

Parameters
fileNamePath to file containing logo data in a format that can be loaded by TQPixmap.
Since
3.3

Definition at line 1705 of file tdeaboutdialog.cpp.

◆ setImage()

void TDEAboutDialog::setImage ( const TQString &  fileName)

(Constructor II only) Define an image to be shown in the dialog.

The position is dependent on the dialogLayout in the constructor

Parameters
fileNamePath to image file.

Definition at line 1698 of file tdeaboutdialog.cpp.

◆ setImageBackgroundColor()

void TDEAboutDialog::setImageBackgroundColor ( const TQColor &  color)

(Constructor II only) The image has a minimum size, but is centered within an area if the dialog box is enlarged by the user.

You set the background color of the area with this method.

Parameters
colorBackground color.

Definition at line 1723 of file tdeaboutdialog.cpp.

◆ setImageFrame()

void TDEAboutDialog::setImageFrame ( bool  state)

(Constructor II only) Enables or disables a frame around the image.

The frame is, by default, enabled in the constructor

Parameters
stateA value of true enables the frame

Definition at line 1730 of file tdeaboutdialog.cpp.

◆ setLogo()

void TDEAboutDialog::setLogo ( const TQPixmap &  i)

(Constructor I only) Sets the image as the application logo.

Definition at line 1574 of file tdeaboutdialog.cpp.

◆ setMaintainer()

void TDEAboutDialog::setMaintainer ( const TQString &  name,
const TQString &  email,
const TQString &  url,
const TQString &  work 
)

(Constructor I only) Sets the maintainer's name and email address.

Definition at line 1581 of file tdeaboutdialog.cpp.

◆ setProduct()

void TDEAboutDialog::setProduct ( const TQString &  appName,
const TQString &  version,
const TQString &  author,
const TQString &  year 
)

(Constructor II only) Prints the application name, KDE version, author, a copyright sign and a year string.

To the left of the text the standard application icon is displayed.

Parameters
appNameThe application name.
versionApplication version.
authorOne or more authors.
yearA string telling when the application was made.

Definition at line 1737 of file tdeaboutdialog.cpp.

◆ setProgramLogo() [1/2]

void TDEAboutDialog::setProgramLogo ( const TQPixmap &  pixmap)

(Constructor II only) Define the program logo to be shown in the dialog.

Use this to override the default program logo. For example, use this function if the TDEAboutDialog is for a panel applet and you want to override the appletproxy logo with your own pixmap.

Parameters
pixmapThe logo pixmap.
Since
3.4

Definition at line 1717 of file tdeaboutdialog.cpp.

◆ setProgramLogo() [2/2]

void TDEAboutDialog::setProgramLogo ( const TQString &  fileName)

Overloaded version of setProgramLogo(const TQPixmap& pixmap).

Since
3.4

Definition at line 1711 of file tdeaboutdialog.cpp.

◆ setTitle()

void TDEAboutDialog::setTitle ( const TQString &  title)

(Constructor II only) Sets a title (not caption) in the uppermost area of the dialog.

Parameters
titleTitle string.

Definition at line 1691 of file tdeaboutdialog.cpp.

◆ setVersion()

void TDEAboutDialog::setVersion ( const TQString &  name)

(Constructor I only) Sets the text describing the version.

Definition at line 1608 of file tdeaboutdialog.cpp.

◆ show() [1/2]

void TDEAboutDialog::show ( TQWidget *  centerParent)
virtual

Makes a modeless (modal = false in constructor) dialog visible.

If you reimplmement this method make sure you run it in the new method (i.e., show( parent )).

Parameters
centerParentCenter the dialog with respect to this widget.

Definition at line 1557 of file tdeaboutdialog.cpp.

◆ show() [2/2]

void TDEAboutDialog::show ( void  )
virtual

Makes a modeless (modal = false in constructor) dialog visible.

If you reimplement this method make sure you run it in the new method (e.g., show()). Reimplemented from KDialogBase.

Definition at line 1549 of file tdeaboutdialog.cpp.

◆ virtual_hook()

void TDEAboutDialog::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

Reimplemented from KDialogBase.

Definition at line 1795 of file tdeaboutdialog.cpp.

Member Data Documentation

◆ about

TDEAboutWidget* TDEAboutDialog::about
protected

The main widget (Constructor I)

Definition at line 599 of file tdeaboutdialog.h.

◆ mContainerBase

TDEAboutContainerBase* TDEAboutDialog::mContainerBase
protected

The main widget (Constructor II)

Definition at line 604 of file tdeaboutdialog.h.


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

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.