equal
deleted
inserted
replaced
48 QtGradientViewDialog::QtGradientViewDialog(QWidget *parent) |
48 QtGradientViewDialog::QtGradientViewDialog(QWidget *parent) |
49 : QDialog(parent) |
49 : QDialog(parent) |
50 { |
50 { |
51 m_ui.setupUi(this); |
51 m_ui.setupUi(this); |
52 m_ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); |
52 m_ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); |
53 connect(m_ui.gradientView, SIGNAL(currentGradientChanged(const QString &)), |
53 connect(m_ui.gradientView, SIGNAL(currentGradientChanged(QString)), |
54 this, SLOT(slotGradientSelected(const QString &))); |
54 this, SLOT(slotGradientSelected(QString))); |
55 connect(m_ui.gradientView, SIGNAL(gradientActivated(const QString &)), |
55 connect(m_ui.gradientView, SIGNAL(gradientActivated(QString)), |
56 this, SLOT(slotGradientActivated(const QString &))); |
56 this, SLOT(slotGradientActivated(QString))); |
57 } |
57 } |
58 |
58 |
59 void QtGradientViewDialog::setGradientManager(QtGradientManager *manager) |
59 void QtGradientViewDialog::setGradientManager(QtGradientManager *manager) |
60 { |
60 { |
61 m_ui.gradientView->setGradientManager(manager); |
61 m_ui.gradientView->setGradientManager(manager); |