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
bool renameIconDirectly () const
const QFont & standardFont () const
const QColor & normalTextColor () const
const QColor & highlightedTextColor () const
const QColor & itemTextBackground () const
int textPreviewIconTransparency () const
int caseSensitiveCompare (const QString &a, const QString &b) const

Static Public Member Functions

KonqFMSettingssettings ()
void reparseConfiguration ()

Protected Member Functions

 KonqFMSettings (KConfig *config)
virtual ~KonqFMSettings ()


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 73 of file konq_settings.cc.


Member Function Documentation

KonqFMSettings * KonqFMSettings::settings  )  [static]
 

The static instance of KonqFMSettings.

Definition at line 45 of file konq_settings.cc.

Referenced by KonqIconViewWidget::initConfig(), and KonqPropsView::KonqPropsView().

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 57 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 libkonq Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Mar 5 04:41:09 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003