diff options
Diffstat (limited to 'kscreensaver/xsavers/helpers.cpp')
-rw-r--r-- | kscreensaver/xsavers/helpers.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/kscreensaver/xsavers/helpers.cpp b/kscreensaver/xsavers/helpers.cpp deleted file mode 100644 index e55cf98c..00000000 --- a/kscreensaver/xsavers/helpers.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "helpers.h" - -#include <kapplication.h> - -void min_width(TQWidget *w) { - w->setMinimumWidth(w->sizeHint().width()); -} - -void fixed_width(TQWidget *w) { - w->setFixedWidth(w->sizeHint().width()); -} - -void min_height(TQWidget *w) { - w->setMinimumHeight(w->sizeHint().height()); -} - -void fixed_height(TQWidget *w) { - w->setFixedHeight(w->sizeHint().height()); -} - -void min_size(TQWidget *w) { - w->setMinimumSize(w->sizeHint()); -} - -void fixed_size(TQWidget *w) { - w->setFixedSize(w->sizeHint()); -} - -TDEConfig *klock_config() -{ - TQString name( kapp->argv()[0] ); - int slash = name.findRev( '/' ); - if ( slash ) - name = name.mid( slash+1 ); - - return new TDEConfig( name + "rc" ); -} - |