class KPropsDlgPlugin

A Plugin in the Properties dialog This is an abstract class. More...

Definition#include <kpropsdlg.h>
InheritsQObject [public ]
Inherited byKApplicationPropsPlugin, KBindingPropsPlugin, KDevicePropsPlugin, KExecPropsPlugin, KFilePermissionsPropsPlugin, KFilePropsPlugin, KURLPropsPlugin
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals

Public Static Methods

Protected Members


Detailed Description

A Plugin in the Properties dialog This is an abstract class. You must inherit from this class to build a new kind of page.

 KPropsDlgPlugin ( KPropertiesDialog *_props )

Constructor To insert tabs into the properties dialog, use the add methods provided by KDialogBase (via props->dialog() )

 ~KPropsDlgPlugin ()

[virtual]

void  applyChanges ()

[virtual]

Apply all changes to the file. This function is called when the user presses 'Ok'. The last plugin inserted is called first.

bool  isDesktopFile ( KFileItem * _item )

[static]

Convenience method for most ::supports methods

Returns: true if the file is a local, regular, readable, desktop file

void  setDirty ( bool b )

bool  isDirty ()

[const]

void  setDirty ()

[slot]

void  changed ()

[signal]

Emit this event when the user changed anything the plugin's tabs. The hosting PropertiesDialog will call applyChanges only if the PropsPlugin emits the changed event.

KPropertiesDialog * properties

[protected: ]

int fontHeight

[protected: ]


Generated by: marc@yogi on Tue Mar 27 13:08:28 2001, using kdoc 2.0a48.