mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 13:20:52 +01:00
Replacement for KColorButton
This commit is contained in:
@@ -25,10 +25,7 @@
|
||||
#include <QSpinBox>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
#ifdef BUILD_WITHOUT_KF6
|
||||
#else
|
||||
#include <KColorButton>
|
||||
#endif
|
||||
#include "../../colorbutton.h"
|
||||
class PartText;
|
||||
|
||||
class TextEditor : public ElementItemEditor {
|
||||
@@ -65,10 +62,7 @@ class TextEditor : public ElementItemEditor {
|
||||
QSpinBox *m_size_sb;
|
||||
QLineEdit *m_line_edit;
|
||||
QPushButton *m_font_pb;
|
||||
#ifdef BUILD_WITHOUT_KF6
|
||||
#else
|
||||
KColorButton *m_color_pb;
|
||||
#endif
|
||||
ColorButton *m_color_pb;
|
||||
};
|
||||
|
||||
#endif // TEXTEDITOR_H
|
||||
|
||||
Reference in New Issue
Block a user