diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
commit | b5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch) | |
tree | 7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /kscreensaver/xsavers/helpers.cpp | |
parent | 019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff) | |
download | tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.tar.gz tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1157637 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/xsavers/helpers.cpp')
-rw-r--r-- | kscreensaver/xsavers/helpers.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kscreensaver/xsavers/helpers.cpp b/kscreensaver/xsavers/helpers.cpp index 1ba67925..ef700545 100644 --- a/kscreensaver/xsavers/helpers.cpp +++ b/kscreensaver/xsavers/helpers.cpp @@ -2,33 +2,33 @@ #include <kapplication.h> -void min_width(QWidget *w) { +void min_width(TQWidget *w) { w->setMinimumWidth(w->sizeHint().width()); } -void fixed_width(QWidget *w) { +void fixed_width(TQWidget *w) { w->setFixedWidth(w->sizeHint().width()); } -void min_height(QWidget *w) { +void min_height(TQWidget *w) { w->setMinimumHeight(w->sizeHint().height()); } -void fixed_height(QWidget *w) { +void fixed_height(TQWidget *w) { w->setFixedHeight(w->sizeHint().height()); } -void min_size(QWidget *w) { +void min_size(TQWidget *w) { w->setMinimumSize(w->sizeHint()); } -void fixed_size(QWidget *w) { +void fixed_size(TQWidget *w) { w->setFixedSize(w->sizeHint()); } KConfig *klock_config() { - QString name( kapp->argv()[0] ); + TQString name( kapp->argv()[0] ); int slash = name.findRev( '/' ); if ( slash ) name = name.mid( slash+1 ); |