[Kst] extragear/graphics/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Wed Oct 19 22:22:12 CEST 2005
SVN commit 472096 by netterfield:
Remove depricated methods from kstplotlabel...
M +0 -23 kstplotlabel.cpp
M +0 -2 kstplotlabel.h
--- trunk/extragear/graphics/kst/kst/kstplotlabel.cpp #472095:472096
@@ -168,10 +168,6 @@
return _fontSize;
}
-int KstPlotLabel::absFontSize() const {
- return _absFontSize;
-}
-
bool KstPlotLabel::interpreted() const {
return _interpret;
}
@@ -186,12 +182,6 @@
return QSize(_textWidth, _textHeight);
}
-
-// void KstPlotLabel::updateLineSpacing() {
-// _lineSpacing = QFontMetrics(QFont(_fontName, _absFontSize)).lineSpacing();
-// }
-
-
void KstPlotLabel::load(const QDomElement& e) {
bool upLS = false;
QDomNode n = e.firstChild();
@@ -260,19 +250,6 @@
return *this;
}
-
-void KstPlotLabel::setAbsFontSize(int fs) {
- if (_absFontSize != fs) {
- _absFontSize = fs;
- if (_absFontSize < MIN_FONT_SIZE) {
- _absFontSize = MIN_FONT_SIZE;
- }
- computeTextSize();
- }
-}
-
-
-
void KstPlotLabel::updateAbsFontSize(int x_pix, int y_pix) {
double x_s, y_s, s;
--- trunk/extragear/graphics/kst/kst/kstplotlabel.h #472095:472096
@@ -44,11 +44,9 @@
const QString& fontName() const;
void setFontSize(int size);
- void setAbsFontSize(int size);
void KstPlotLabel::updateAbsFontSize(int x_pix, int y_pix);
int fontSize() const;
- int absFontSize() const;
inline int lineSpacing() const { return _lineSpacing; }
More information about the Kst
mailing list