diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /superkaramba/src/bar.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/bar.cpp')
-rw-r--r-- | superkaramba/src/bar.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/superkaramba/src/bar.cpp b/superkaramba/src/bar.cpp index 354433d..a5405fe 100644 --- a/superkaramba/src/bar.cpp +++ b/superkaramba/src/bar.cpp @@ -24,14 +24,14 @@ Bar::~Bar() { } -bool Bar::setImage(QString fileName) +bool Bar::setImage(TQString fileName) { - QFileInfo fileInfo(fileName); + TQFileInfo fileInfo(fileName); bool res = false; if(m_karamba->theme().isThemeFile(fileName)) { - QByteArray ba = m_karamba->theme().readThemeFile(fileName); + TQByteArray ba = m_karamba->theme().readThemeFile(fileName); res = pixmap.loadFromData(ba); } else @@ -85,7 +85,7 @@ void Bar::setValue( long v ) } } -void Bar::setValue(QString v) +void Bar::setValue(TQString v) { setValue((long)(v.toDouble() + 0.5)); } @@ -107,7 +107,7 @@ void Bar::setVertical(bool b) vertical = b; } -void Bar::mUpdate(QPainter *p) +void Bar::mUpdate(TQPainter *p) { int x, y, width, height; x = getX(); |