libkonq Library API Documentation

KonqFMSettings Class Reference

The class KonqFMSettings holds the general settings for the icon/tree views in konqueror/kdesktop. More...

#include <konq_settings.h>

List of all members.

Public Member Functions

bool shouldEmbed (const QString &serviceType) const
bool wordWrapText () const
bool underlineLink () const
bool fileSizeInBytes () const
bool alwaysNewWin () const
const QString & homeURL () const
bool showFileTips () const
bool showPreviewsInFileTips () const
int numFileTips () const
const QFont & standardFont () const
const QColor & normalTextColor () const
const QColor & highlightedTextColor () const
const QColor & itemTextBackground () const
int textPreviewIconTransparency () const

Static Public Member Functions

KonqFMSettingssettings ()
 The static instance of KonqFMSettings.

void reparseConfiguration ()
 Reparse the configuration to update the already-created instances.


Protected Member Functions

 KonqFMSettings (KConfig *config)
virtual ~KonqFMSettings ()
 Destructor.


Detailed Description

The class KonqFMSettings holds the general settings for the icon/tree views in konqueror/kdesktop.

There is no 'local' (per-URL) instance of it. All those settings can only be changed in kcmkonq.

Using this class from konqueror and from kdesktop return different settings, since the config file is different. konquerorrc, group "FMSettings", and kdesktoprc, group "FMSettings" The kcontrol modules handles both files, depending where it's called from.

Definition at line 42 of file konq_settings.h.


Constructor & Destructor Documentation

KonqFMSettings::~KonqFMSettings  )  [protected, virtual]
 

Destructor.

Don't delete any instance by yourself.

Definition at line 70 of file konq_settings.cc.


Member Function Documentation

KonqFMSettings * KonqFMSettings::settings  )  [static]
 

The static instance of KonqFMSettings.

Definition at line 42 of file konq_settings.cc.

Referenced by KonqIconViewWidget::initConfig().

void KonqFMSettings::reparseConfiguration  )  [static]
 

Reparse the configuration to update the already-created instances.

Warning : you need to call KGlobal::config()->reparseConfiguration() first (This is not done here so that the caller can avoid too much reparsing if having several classes from the same config file)

Definition at line 54 of file konq_settings.cc.

References init().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Thu Jan 29 23:03:28 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001