File indexing completed on 2024-05-12 16:41:07
0001 /*************************************************************************** 0002 begin : Sunday Jun 27 2008 0003 copyright : (C) 2008 by Mathias Soeken 0004 email : msoeken@informatik.uni-bremen.de 0005 ***************************************************************************/ 0006 0007 /*************************************************************************** 0008 * * 0009 * This program is free software; you can redistribute it and/or modify * 0010 * it under the terms of the GNU General Public License as published by * 0011 * the Free Software Foundation; either version 2 of the License, or * 0012 * (at your option) any later version. * 0013 * * 0014 ***************************************************************************/ 0015 0016 #ifndef SELECTCOLORACTION_H 0017 #define SELECTCOLORACTION_H 0018 0019 #include <QAction> 0020 0021 namespace KileDialog { 0022 0023 class SelectColorAction : public QAction { 0024 Q_OBJECT 0025 0026 public: 0027 SelectColorAction(const QIcon &icon, const QString &text, QWidget *parent); 0028 0029 private Q_SLOTS: 0030 void showDialog(); 0031 0032 Q_SIGNALS: 0033 void colorSelected(const QColor &color); 0034 }; 0035 0036 } 0037 0038 #endif