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
int iconTextHeight () const
int iconTextWidth () const
bool underlineLink () const
bool fileSizeInBytes () const
bool alwaysNewWin () const
const QStringhomeURL () const
bool showFileTips () const
bool showPreviewsInFileTips () const
int numFileTips () const
bool renameIconDirectly () const
const QFontstandardFont () const
const QColornormalTextColor () const
const QColorhighlightedTextColor () const
const QColoritemTextBackground () const
int textPreviewIconTransparency () const
int caseSensitiveCompare (const QString &a, const QString &b) const

Static Public Member Functions

static KonqFMSettingssettings ()
static 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 44 of file konq_settings.h.


Constructor & Destructor Documentation

KonqFMSettings::~KonqFMSettings  )  [protected, virtual]
 

Destructor.

Don't delete any instance by yourself.

Definition at line 75 of file konq_settings.cc.


Member Function Documentation

KonqFMSettings * KonqFMSettings::settings  )  [static]
 

The static instance of KonqFMSettings.

Definition at line 47 of file konq_settings.cc.

Referenced by KonqIconViewWidget::KonqIconViewWidget(), KonqPropsView::KonqPropsView(), and KonqDirPart::lmbClicked().

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 59 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.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 30 18:40:27 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003