Renome not necessary forward declaration

Fix warning

svn path=/trunk/KDE/kdebase/workspace/; revision=676230
This commit is contained in:
Laurent Montel 2007-06-16 10:59:08 +00:00
parent 4a8a26b558
commit c5e1b4b204
3 changed files with 2 additions and 4 deletions

View file

@ -103,11 +103,11 @@ bool OxygenFactory::readConfig()
{
// create a config object
KConfig config("kwinexamplerc");
config.setGroup("General");
KConfigGroup group = config.group("General");
// grab settings
Qt::Alignment oldalign = titlealign_;
QString value = config.readEntry("TitleAlignment", "AlignHCenter");
QString value = group.readEntry("TitleAlignment", "AlignHCenter");
if (value == "AlignLeft") titlealign_ = Qt::AlignLeft;
else if (value == "AlignHCenter") titlealign_ = Qt::AlignHCenter;
else if (value == "AlignRight") titlealign_ = Qt::AlignRight;

View file

@ -31,7 +31,6 @@
namespace Oxygen
{
class OxygenClient;
// OxygenFactory /////////////////////////////////////////////////////////////
enum ButtonType {

View file

@ -28,7 +28,6 @@
#define OXYGENBUTTON_H
#include <QAbstractButton>
class QPainterPath;
#include "oxygen.h"