[Kst] branches/work/kst/portto4/kst/src
Mike Fenton
mike at staikos.net
Thu Jun 18 21:08:46 CEST 2009
SVN commit 983665 by fenton:
Cleanup LabelBuilder based warnings.
M +1 -0 libkstapp/labelcreator.cpp
M +1 -1 libkstapp/labelpropertiestab.cpp
M +1 -1 widgets/labelbuilder.cpp
M +1 -1 widgets/labelbuilder.h
--- branches/work/kst/portto4/kst/src/libkstapp/labelcreator.cpp #983664:983665
@@ -24,6 +24,7 @@
: QDialog(parent) {
setupUi(this);
+ setWindowTitle(tr("Create Label Dialog"));
_bold->setFixedWidth(32);
_bold->setFixedHeight(32);
_bold->setIcon(QPixmap(":kst_bold.png"));
--- branches/work/kst/portto4/kst/src/libkstapp/labelpropertiestab.cpp #983664:983665
@@ -35,7 +35,7 @@
_labelColor->setFixedWidth(32);
_labelColor->setFixedHeight(32);
- connect(_labelText, SIGNAL(labelChanged(const QString &)), this, SIGNAL(modified()));
+ connect(_labelText, SIGNAL(labelChanged()), this, SIGNAL(modified()));
connect(_labelFontScale, SIGNAL(valueChanged(double)), this, SIGNAL(modified()));
connect(_labelColor, SIGNAL(changed(const QColor &)), this, SIGNAL(modified()));
connect(_bold, SIGNAL(toggled(bool)), this, SIGNAL(modified()));
--- branches/work/kst/portto4/kst/src/widgets/labelbuilder.cpp #983664:983665
@@ -20,7 +20,7 @@
setupUi(this);
- connect(_label, SIGNAL(textChanged(const QString &)), this, SIGNAL(labelChanged(const QString &)));
+ connect(_label, SIGNAL(textChanged()), this, SIGNAL(labelChanged()));
connect(_strings, SIGNAL(selectionChanged(QString)), this, SLOT(labelUpdate(const QString&)));
connect(_scalars, SIGNAL(selectionChanged(QString)), this, SLOT(labelUpdate(const QString&)));
}
--- branches/work/kst/portto4/kst/src/widgets/labelbuilder.h #983664:983665
@@ -35,7 +35,7 @@
void setLabelText(const QString &label);
Q_SIGNALS:
- void labelChanged(const QString &);
+ void labelChanged();
private Q_SLOTS:
void labelUpdate(const QString&);
More information about the Kst
mailing list