summaryrefslogtreecommitdiff
path: root/libqtaux/ocolorpopupmenu.h
Side-by-side diff
Diffstat (limited to 'libqtaux/ocolorpopupmenu.h') (more/less context) (show whitespace changes)
-rw-r--r--libqtaux/ocolorpopupmenu.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libqtaux/ocolorpopupmenu.h b/libqtaux/ocolorpopupmenu.h
index 90cfbed..7ab3ca6 100644
--- a/libqtaux/ocolorpopupmenu.h
+++ b/libqtaux/ocolorpopupmenu.h
@@ -21,33 +21,38 @@
..}^=.=       =       ; Library General Public License for more
++=   -.     .`     .: details.
 :     =  ...= . :.=-
 -.   .:....=;==+<; You should have received a copy of the GNU
  -_. . .   )=.  = Library General Public License along with
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
-#ifndef COLORPOPUPMENU_H
-#define COLORPOPUPMENU_H
+#ifndef OCOLORPOPUPMENU_H
+#define OCOLORPOPUPMENU_H
+
+/* QT */
#include <qframe.h>
#include <qpopupmenu.h>
class QWidget;
class QGridLayout;
+namespace Opie
+{
+
/**
* @class OColorPanelButton
* @brief The OColorPanelButton class provides a button for color selection.
*
* @see OColorPopupMenu
*
* The OColorPanelButton class provides a button for color selection. The button
* is drawn with the desired color and no border. This class is used internally
* by the OColorPopupMenu class to displaying colors in its menu.
*/
class OColorPanelButton : public QFrame
{
@@ -243,13 +248,15 @@ protected slots:
*
* @see colorSelected()
*
* This slot executes when the 'More...' option is selected at the bottom of the menu.
* It performs the following functions:
* - Constructs and executes a QColorDialog to allow finer color selection.
* - Emit the colorSelected signal with the color selected.
* - Hide the menu.
*/
void moreColorClicked();
};
+};
+
#endif // COLORPOPUPMENUANEL_H