+++ /dev/null
-#ifndef __COLOR_H__
-#define __COLOR_H__
-
-#include <QtGui>
-#include "flags.h"
-
-//! Color defined by layer not entity
-//#define C_BY_LAYER 0x00000001
-//! Color defined by block not entity
-//#define C_BY_BLOCK 0x00000002
-
-/**
- * Color class.
- *
- * @author Andrew Mustun
- */
-class Color: public QColor, public Flags
-{
- public:
- Color();
- Color(int r, int g, int b);
- Color(const QColor & c);
- Color(const Color & c);
- Color(unsigned int f);
-
- Color stripFlags() const;
- bool isByLayer() const;
- bool isByBlock() const;
- Color & operator=(const Color & c);
- bool operator==(const Color & c) const;
-//no,can't bool operator==(const QColor & c) const;
- friend std::ostream & operator<<(std::ostream & os, const Color & c);
-};
-
-#endif