diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
commit | b09bffed6b43262948018dfb0f11890850ddf7c1 (patch) | |
tree | 138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /ksysv/PreferencesDialog.cpp | |
parent | 6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff) | |
download | tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip |
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/PreferencesDialog.cpp')
-rw-r--r-- | ksysv/PreferencesDialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksysv/PreferencesDialog.cpp b/ksysv/PreferencesDialog.cpp index b2ad038..759fbd8 100644 --- a/ksysv/PreferencesDialog.cpp +++ b/ksysv/PreferencesDialog.cpp @@ -28,17 +28,17 @@ #include "PreferencesDialog.h" -KSVPreferences::KSVPreferences (TQWidget* parent) +KSVPreferences::KSVPreferences (TQWidget* tqparent) : KDialogBase (IconList, i18n("Configure"), Help|Ok|Apply|Cancel, Ok, - parent, "KSysV Preferences", true, true), + tqparent, "KSysV Preferences", true, true), mConfig (KSVConfig::self()) { - setMinimumSize (sizeHint ()); + setMinimumSize (tqsizeHint ()); /** * Look & Feel Page */ - TQFrame* lafPage = addPage (i18n ("Look & Feel"), TQString::null, DesktopIcon ("colorize", 32)); + TQFrame* lafPage = addPage (i18n ("Look & Feel"), TQString(), DesktopIcon ("colorize", 32)); mLookAndFeel = new KSVLookAndFeel (lafPage); connect( mLookAndFeel, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) ); @@ -48,7 +48,7 @@ KSVPreferences::KSVPreferences (TQWidget* parent) // /** // * Colors Page // */ -// TQFrame* colorPage = addPage (i18n("Colors"), TQString::null, DesktopIcon ("colorize", 32)); +// TQFrame* colorPage = addPage (i18n("Colors"), TQString(), DesktopIcon ("colorize", 32)); // mColorConfig = new KSVColorConfig(colorPage); // TQVBoxLayout* colorLayout = new TQVBoxLayout(colorPage); @@ -57,7 +57,7 @@ KSVPreferences::KSVPreferences (TQWidget* parent) // /** // * Fonts Page // */ -// TQFrame* fontPage = addPage (i18n("Fonts"), TQString::null, DesktopIcon ("fonts", 32)); +// TQFrame* fontPage = addPage (i18n("Fonts"), TQString(), DesktopIcon ("fonts", 32)); // mFontConfig = new KSVFontConfig(fontPage); // TQVBoxLayout* fontLayout = new TQVBoxLayout (fontPage); @@ -66,7 +66,7 @@ KSVPreferences::KSVPreferences (TQWidget* parent) /** * Paths Page */ - TQFrame* pathPage = addPage (i18n ("Paths"), TQString::null, DesktopIcon ("kfm", 32)); + TQFrame* pathPage = addPage (i18n ("Paths"), TQString(), DesktopIcon ("kfm", 32)); mPathConfig = new KSVPathConfig(pathPage); connect( mPathConfig, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( slotChanged() ) ); |