summaryrefslogtreecommitdiffstats
path: root/src/detailsviewsettingspage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/detailsviewsettingspage.cpp')
-rw-r--r--src/detailsviewsettingspage.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/detailsviewsettingspage.cpp b/src/detailsviewsettingspage.cpp
index b8c4d97..c1300be 100644
--- a/src/detailsviewsettingspage.cpp
+++ b/src/detailsviewsettingspage.cpp
@@ -19,25 +19,25 @@
***************************************************************************/
#include "detailsviewsettingspage.h"
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
#include <klocale.h>
#include <kdialog.h>
#include <kfontcombo.h>
-#include <qspinbox.h>
-#include <qlabel.h>
-#include <qgrid.h>
+#include <tqspinbox.h>
+#include <tqlabel.h>
+#include <tqgrid.h>
#include <assert.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
-#include <qcombobox.h>
-#include <qgroupbox.h>
-#include <qgroupbox.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
+#include <tqcombobox.h>
+#include <tqgroupbox.h>
+#include <tqgroupbox.h>
#include "dolphinsettings.h"
#include "dolphindetailsviewsettings.h"
#include "dolphindetailsview.h"
-DetailsViewSettingsPage::DetailsViewSettingsPage(QWidget *parent) :
- QVBox(parent),
+DetailsViewSettingsPage::DetailsViewSettingsPage(TQWidget *tqparent) :
+ TQVBox(tqparent),
m_dateBox(0),
m_permissionsBox(0),
m_ownerBox(0),
@@ -48,7 +48,7 @@ DetailsViewSettingsPage::DetailsViewSettingsPage(QWidget *parent) :
{
const int spacing = KDialog::spacingHint();
const int margin = KDialog::marginHint();
- const QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
+ const TQSizePolicy sizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
setSpacing(spacing);
setMargin(margin);
@@ -57,30 +57,30 @@ DetailsViewSettingsPage::DetailsViewSettingsPage(QWidget *parent) :
assert(settings != 0);
// create "Columns" properties
- QGroupBox* columnsGroup = new QGroupBox(4, Qt::Vertical, i18n("Columns"), this);
- columnsGroup->setSizePolicy(sizePolicy);
+ TQGroupBox* columnsGroup = new TQGroupBox(4, Qt::Vertical, i18n("Columns"), this);
+ columnsGroup->tqsetSizePolicy(sizePolicy);
columnsGroup->setMargin(margin);
- QHBox* visibleColumnsLayout = new QHBox(columnsGroup);
- m_dateBox = new QCheckBox(i18n("Date"), visibleColumnsLayout);
+ TQHBox* visibleColumnsLayout = new TQHBox(columnsGroup);
+ m_dateBox = new TQCheckBox(i18n("Date"), visibleColumnsLayout);
m_dateBox->setChecked(settings->isColumnEnabled(DolphinDetailsView::DateColumn));
- m_permissionsBox = new QCheckBox(i18n("Permissions"), visibleColumnsLayout);
+ m_permissionsBox = new TQCheckBox(i18n("Permissions"), visibleColumnsLayout);
m_permissionsBox->setChecked(settings->isColumnEnabled(DolphinDetailsView::PermissionsColumn));
- m_ownerBox = new QCheckBox(i18n("Owner"), visibleColumnsLayout);
+ m_ownerBox = new TQCheckBox(i18n("Owner"), visibleColumnsLayout);
m_ownerBox->setChecked(settings->isColumnEnabled(DolphinDetailsView::OwnerColumn));
- m_groupBox = new QCheckBox(i18n("Group"), visibleColumnsLayout);
+ m_groupBox = new TQCheckBox(i18n("Group"), visibleColumnsLayout);
m_groupBox->setChecked(settings->isColumnEnabled(DolphinDetailsView::GroupColumn));
// Create "Icon" properties
- QButtonGroup* iconSizeGroup = new QButtonGroup(3, Qt::Horizontal, i18n("Icon Size"), this);
- iconSizeGroup->setSizePolicy(sizePolicy);
+ TQButtonGroup* iconSizeGroup = new TQButtonGroup(3, Qt::Horizontal, i18n("Icon Size"), this);
+ iconSizeGroup->tqsetSizePolicy(sizePolicy);
iconSizeGroup->setMargin(margin);
- m_smallIconSize = new QRadioButton(i18n("Small"), iconSizeGroup);
- m_mediumIconSize = new QRadioButton(i18n("Medium"), iconSizeGroup);
- m_largeIconSize = new QRadioButton(i18n("Large"), iconSizeGroup);
+ m_smallIconSize = new TQRadioButton(i18n("Small"), iconSizeGroup);
+ m_mediumIconSize = new TQRadioButton(i18n("Medium"), iconSizeGroup);
+ m_largeIconSize = new TQRadioButton(i18n("Large"), iconSizeGroup);
switch (settings->iconSize()) {
case KIcon::SizeLarge:
m_largeIconSize->setChecked(true);
@@ -95,29 +95,29 @@ DetailsViewSettingsPage::DetailsViewSettingsPage(QWidget *parent) :
m_smallIconSize->setChecked(true);
}
- //new QLabel(i18n("Icon size:"), iconGroup);
- //m_iconSizeBox = new QComboBox(iconGroup);
+ //new TQLabel(i18n("Icon size:"), iconGroup);
+ //m_iconSizeBox = new TQComboBox(iconGroup);
//m_iconSizeBox->insertItem(i18n("Small"));
//m_iconSizeBox->insertItem(i18n("Medium"));
//m_iconSizeBox->insertItem(i18n("Large"));
// create "Text" properties
- QGroupBox* textGroup = new QGroupBox(2, Qt::Horizontal, i18n("Text"), this);
- textGroup->setSizePolicy(sizePolicy);
+ TQGroupBox* textGroup = new TQGroupBox(2, Qt::Horizontal, i18n("Text"), this);
+ textGroup->tqsetSizePolicy(sizePolicy);
textGroup->setMargin(margin);
- new QLabel(i18n("Font family:"), textGroup);
+ new TQLabel(i18n("Font family:"), textGroup);
m_fontFamilyBox = new KFontCombo(textGroup);
m_fontFamilyBox->setCurrentFont(settings->fontFamily());
- new QLabel(i18n("Font size:"), textGroup);
- m_fontSizeBox = new QSpinBox(6, 99, 1, textGroup);
+ new TQLabel(i18n("Font size:"), textGroup);
+ m_fontSizeBox = new TQSpinBox(6, 99, 1, textGroup);
m_fontSizeBox->setValue(settings->fontSize());
// Add a dummy widget with no restriction regarding
- // a vertical resizing. This assures that the dialog layout
+ // a vertical resizing. This assures that the dialog tqlayout
// is not stretched vertically.
- new QWidget(this);
+ new TQWidget(this);
}