You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/knewsticker/common/configiface.h

57 lines
1.9 KiB

/*
* configface.h
*
* Copyright (c) 2001 Frerich Raabe <raabe@kde.org>
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. For licensing and distribution details, check the
* accompanying file 'COPYING'.
*/
#ifndef CONFIGIFACE_H
#define CONFIGIFACE_H
class TQColor;
class TQStringList;
class TQFont;
class KURL;
class ConfigIface
{
public:
enum Direction {Left = 0, Right, Up, Down, UpRotated, DownRotated};
virtual unsigned int interval() const = 0;
virtual unsigned int scrollingSpeed() const = 0;
virtual unsigned int mouseWheelSpeed() const = 0;
virtual unsigned int scrollingDirection() const = 0;
virtual bool customNames() const = 0;
virtual bool scrollMostRecentOnly() const = 0;
virtual bool offlineMode() const = 0;
virtual bool underlineHighlighted() const = 0;
virtual bool showIcons() const = 0;
virtual bool slowedScrolling() const = 0;
virtual TQColor foregroundColor() const = 0;
virtual TQColor backgroundColor() const = 0;
virtual TQColor highlightedColor() const = 0;
virtual TQStringList newsSources() const = 0;
virtual void setInterval(const unsigned int) = 0;
virtual void setScrollingSpeed(const unsigned int) = 0;
virtual void setMouseWheelSpeed(const unsigned int) = 0;
virtual void setScrollingDirection(const unsigned int) = 0;
virtual void setCustomNames(bool) = 0;
virtual void setScrollMostRecentOnly(bool) = 0;
virtual void setOfflineMode(bool) = 0;
virtual void setUnderlineHighlighted(bool) = 0;
virtual void setShowIcons(bool) = 0;
virtual void setSlowedScrolling(bool) = 0;
virtual void setForegroundColor(const TQColor &) = 0;
virtual void setBackgroundColor(const TQColor &) = 0;
virtual void setHighlightedColor(const TQColor &) = 0;
virtual void setNewsSources(const TQStringList &) = 0;
};
#endif // CONFIGIFACE_H