summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/settings
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/dialogs/settings
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/dialogs/settings')
-rw-r--r--quanta/dialogs/settings/abbreviation.cpp18
-rw-r--r--quanta/dialogs/settings/abbreviation.h3
-rw-r--r--quanta/dialogs/settings/abbreviations.ui38
-rw-r--r--quanta/dialogs/settings/codetemplatedlgs.ui18
-rw-r--r--quanta/dialogs/settings/filemasks.cpp14
-rw-r--r--quanta/dialogs/settings/filemasks.h5
-rw-r--r--quanta/dialogs/settings/filemaskss.ui70
-rw-r--r--quanta/dialogs/settings/parseroptions.cpp8
-rw-r--r--quanta/dialogs/settings/parseroptions.h3
-rw-r--r--quanta/dialogs/settings/parseroptionsui.ui46
-rw-r--r--quanta/dialogs/settings/previewoptions.cpp16
-rw-r--r--quanta/dialogs/settings/previewoptions.h5
-rw-r--r--quanta/dialogs/settings/previewoptionss.ui52
-rw-r--r--quanta/dialogs/settings/styleoptionss.ui34
14 files changed, 167 insertions, 163 deletions
diff --git a/quanta/dialogs/settings/abbreviation.cpp b/quanta/dialogs/settings/abbreviation.cpp
index 79dc4bc1..1f1728ae 100644
--- a/quanta/dialogs/settings/abbreviation.cpp
+++ b/quanta/dialogs/settings/abbreviation.cpp
@@ -41,8 +41,8 @@
#include "dtds.h"
-AbbreviationDlg::AbbreviationDlg(TQWidget *parent, const char *name):
- AbbreviationDlgS(parent, name)
+AbbreviationDlg::AbbreviationDlg(TQWidget *tqparent, const char *name):
+ AbbreviationDlgS(tqparent, name)
{
m_oldItem = 0L;
m_currentAbbrev = 0L;
@@ -76,8 +76,8 @@ void AbbreviationDlg::slotGroupChanged(const TQString& newGroupName)
for ( it = m_currentAbbrev->abbreviations.constBegin(); it != m_currentAbbrev->abbreviations.constEnd(); ++it )
{
templateStr = it.key();
- templateName = templateStr.mid(templateStr.find(' ') + 1);
- templateStr = templateStr.left(templateStr.find(' '));
+ templateName = templateStr.mid(templateStr.tqfind(' ') + 1);
+ templateStr = templateStr.left(templateStr.tqfind(' '));
new KListViewItem(templatesList, templateStr, templateName);
}
for ( TQStringList::ConstIterator dtepit = m_currentAbbrev->dteps.constBegin(); dtepit != m_currentAbbrev->dteps.constEnd(); ++dtepit )
@@ -95,9 +95,9 @@ void AbbreviationDlg::slotNewGroup()
TQString groupName = KInputDialog::getText(i18n("New Abbreviation Group"), i18n("Group name:"), "", &ok, this);
if (ok && !groupName.isEmpty())
{
- if (qConfig.abbreviations.contains(groupName))
+ if (qConfig.abbreviations.tqcontains(groupName))
{
- KMessageBox::error(this, i18n("<qt>There is already an abbreviation group called <b>%1</b>. Choose an unique name for the new group.</qt>").arg(groupName), i18n("Group already exists"));
+ KMessageBox::error(this, i18n("<qt>There is already an abbreviation group called <b>%1</b>. Choose an unique name for the new group.</qt>").tqarg(groupName), i18n("Group already exists"));
TQTimer::singleShot(0, this, TQT_SLOT(slotNewGroup()));
} else
{
@@ -187,7 +187,7 @@ void AbbreviationDlg::slotRemoveTemplate()
{
TQListViewItem *item = templatesList->currentItem();
if (item &&
- KMessageBox::warningContinueCancel(this, i18n("<qt>Do you really want to remove the <b>%1</b> template?</qt>").arg(item->text(1)),TQString::null,KStdGuiItem::del()) == KMessageBox::Continue)
+ KMessageBox::warningContinueCancel(this, i18n("<qt>Do you really want to remove the <b>%1</b> template?</qt>").tqarg(item->text(1)),TQString(),KStdGuiItem::del()) == KMessageBox::Continue)
{
m_currentAbbrev->abbreviations.remove(item->text(0)+" "+item->text(1));
delete item;
@@ -248,7 +248,7 @@ void AbbreviationDlg::saveTemplates()
el.setAttribute("code", it.data());
s = it.key();
s2 = "";
- pos = s.find(' ');
+ pos = s.tqfind(' ');
if (pos != -1)
{
s2 = s.mid(pos+1);
@@ -270,7 +270,7 @@ void AbbreviationDlg::saveTemplates()
f.close();
} else
{
- KMessageBox::error(this, i18n("<qt>Cannot open the file <b>%1</b> for writing.\nModified abbreviations will be lost when you quit Quanta.</qt>").arg(s));
+ KMessageBox::error(this, i18n("<qt>Cannot open the file <b>%1</b> for writing.\nModified abbreviations will be lost when you quit Quanta.</qt>").tqarg(s));
}
}
diff --git a/quanta/dialogs/settings/abbreviation.h b/quanta/dialogs/settings/abbreviation.h
index d2ba7ea6..949ad663 100644
--- a/quanta/dialogs/settings/abbreviation.h
+++ b/quanta/dialogs/settings/abbreviation.h
@@ -27,8 +27,9 @@ struct DTDStruct;
class AbbreviationDlg : public AbbreviationDlgS
{
Q_OBJECT
+ TQ_OBJECT
public:
- AbbreviationDlg(TQWidget *parent, const char *name = 0);
+ AbbreviationDlg(TQWidget *tqparent, const char *name = 0);
~AbbreviationDlg();
void saveTemplates();
diff --git a/quanta/dialogs/settings/abbreviations.ui b/quanta/dialogs/settings/abbreviations.ui
index 9274fdc6..8e115d0f 100644
--- a/quanta/dialogs/settings/abbreviations.ui
+++ b/quanta/dialogs/settings/abbreviations.ui
@@ -9,7 +9,7 @@
***************************************************************************/
</comment>
<author>(C) 2003 Andras Mantia &lt;amantia@kde.org&gt;</author>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>AbbreviationDlgS</cstring>
</property>
@@ -52,7 +52,7 @@
<string>&amp;New...</string>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -71,7 +71,7 @@
<cstring>groupCombo</cstring>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -103,7 +103,7 @@
</sizepolicy>
</property>
</widget>
- <widget class="QTextEdit" row="10" column="0" rowspan="1" colspan="4">
+ <widget class="TQTextEdit" row="10" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>codeEdit</cstring>
</property>
@@ -152,7 +152,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton" row="5" column="2" rowspan="1" colspan="2">
+ <widget class="TQPushButton" row="5" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>addButton</cstring>
</property>
@@ -170,14 +170,14 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
</size>
</property>
</spacer>
- <widget class="QPushButton" row="6" column="2" rowspan="1" colspan="2">
+ <widget class="TQPushButton" row="6" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>removeButton</cstring>
</property>
@@ -185,7 +185,7 @@
<string>&amp;Remove</string>
</property>
</widget>
- <widget class="QPushButton" row="7" column="2" rowspan="1" colspan="2">
+ <widget class="TQPushButton" row="7" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>editButton</cstring>
</property>
@@ -193,7 +193,7 @@
<string>&amp;Edit...</string>
</property>
</widget>
- <widget class="QLabel" row="9" column="0" rowspan="1" colspan="3">
+ <widget class="TQLabel" row="9" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -210,7 +210,7 @@
<cstring>codeEdit</cstring>
</property>
</widget>
- <widget class="QLabel" row="4" column="0">
+ <widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -255,7 +255,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -269,9 +269,9 @@
<connections>
<connection>
<sender>templatesList</sender>
- <signal>selectionChanged(QListViewItem*)</signal>
+ <signal>selectionChanged(TQListViewItem*)</signal>
<receiver>AbbreviationDlgS</receiver>
- <slot>slotTemplateSelectionChanged(QListViewItem*)</slot>
+ <slot>slotTemplateSelectionChanged(TQListViewItem*)</slot>
</connection>
<connection>
<sender>addButton</sender>
@@ -317,7 +317,7 @@
</connection>
<connection>
<sender>templatesList</sender>
- <signal>doubleClicked(QListViewItem*)</signal>
+ <signal>doubleClicked(TQListViewItem*)</signal>
<receiver>AbbreviationDlgS</receiver>
<slot>slotEditTemplate()</slot>
</connection>
@@ -334,19 +334,19 @@
<tabstop>editButton</tabstop>
<tabstop>codeEdit</tabstop>
</tabstops>
-<slots>
- <slot>slotTemplateSelectionChanged(QListViewItem*)</slot>
+<Q_SLOTS>
+ <slot>slotTemplateSelectionChanged(TQListViewItem*)</slot>
<slot>dtdCombo_activated(const QString&amp;)</slot>
<slot>slotGroupChanged(const QString&amp;)</slot>
<slot>slotAddTemplate()</slot>
<slot>slotRemoveTemplate()</slot>
- <slot>templatesList_currentChanged(QListViewItem*)</slot>
+ <slot>templatesList_currentChanged(TQListViewItem*)</slot>
<slot>slotEditTemplate()</slot>
<slot>slotAddDTEP()</slot>
<slot>slotRemoveDTEP()</slot>
<slot>slotNewGroup()</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
+</Q_SLOTS>
+<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klistview.h</includehint>
<includehint>klistbox.h</includehint>
diff --git a/quanta/dialogs/settings/codetemplatedlgs.ui b/quanta/dialogs/settings/codetemplatedlgs.ui
index 5aa9254f..733b66eb 100644
--- a/quanta/dialogs/settings/codetemplatedlgs.ui
+++ b/quanta/dialogs/settings/codetemplatedlgs.ui
@@ -9,7 +9,7 @@
***************************************************************************/
</comment>
<author>(C) 2003 by Andras Mantia &lt;amantia@kde.org&gt;</author>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>CodeTemplateDlgS</cstring>
</property>
@@ -21,7 +21,7 @@
<height>72</height>
</rect>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>400</width>
<height>70</height>
@@ -34,7 +34,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -45,7 +45,7 @@
<cstring>templateEdit</cstring>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -56,12 +56,12 @@
<cstring>descriptionEdit</cstring>
</property>
</widget>
- <widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="3">
+ <widget class="TQLineEdit" row="0" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>templateEdit</cstring>
</property>
</widget>
- <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="3">
+ <widget class="TQLineEdit" row="1" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>descriptionEdit</cstring>
</property>
@@ -72,10 +72,10 @@
<tabstop>templateEdit</tabstop>
<tabstop>descriptionEdit</tabstop>
</tabstops>
-<slots>
+<Q_SLOTS>
<slot>accept()</slot>
<slot>reject()</slot>
<slot>pushButton4_clicked()</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
+</Q_SLOTS>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/quanta/dialogs/settings/filemasks.cpp b/quanta/dialogs/settings/filemasks.cpp
index fee135f8..5f96a2eb 100644
--- a/quanta/dialogs/settings/filemasks.cpp
+++ b/quanta/dialogs/settings/filemasks.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- filesmask.cpp - description
+ filestqmask.cpp - description
-------------------
begin : Fri May 19 2000
copyright : (C) 2000 by Yacovlev Alexander & Dmitry Poplavsky <pdima@mail.univ.kiev.ua>
@@ -23,15 +23,15 @@
//kde includes
#include <kmimetype.h>
-FileMasks::FileMasks(TQWidget *parent, const char *name)
- :FileMasksS(parent,name)
+FileMasks::FileMasks(TQWidget *tqparent, const char *name)
+ :FileMasksS(tqparent,name)
{
connect(buttonDefault, TQT_SIGNAL(clicked()), this, TQT_SLOT(setToDefault()));
}
FileMasks::~FileMasks(){
}
-/** set masks to default */
+/** set tqmasks to default */
void FileMasks::setToDefault()
{
KMimeType::List list = KMimeType::allMimeTypes();
@@ -43,12 +43,12 @@ void FileMasks::setToDefault()
for ( it = list.begin(); it != list.end(); ++it )
{
name = (*it)->name();
- if (name.contains("text"))
+ if (name.tqcontains("text"))
{
- if (!markup.contains(name) && !script.contains(name))
+ if (!markup.tqcontains(name) && !script.tqcontains(name))
text += name+"; ";
}
- if (name.contains("image"))
+ if (name.tqcontains("image"))
{
image += name +"; ";
}
diff --git a/quanta/dialogs/settings/filemasks.h b/quanta/dialogs/settings/filemasks.h
index 965eb190..cc596259 100644
--- a/quanta/dialogs/settings/filemasks.h
+++ b/quanta/dialogs/settings/filemasks.h
@@ -1,5 +1,5 @@
/***************************************************************************
- filesmask.h - description
+ filestqmask.h - description
-------------------
begin : Fri May 19 2000
copyright : (C) 2000 by Yacovlev Alexander & Dmitry Poplavsky <pdima@mail.univ.kiev.ua>
@@ -24,8 +24,9 @@
class FileMasks : public FileMasksS
{
Q_OBJECT
+ TQ_OBJECT
public:
- FileMasks(TQWidget *parent=0, const char *name=0);
+ FileMasks(TQWidget *tqparent=0, const char *name=0);
~FileMasks();
public slots:
diff --git a/quanta/dialogs/settings/filemaskss.ui b/quanta/dialogs/settings/filemaskss.ui
index f8cdb4f6..fb7d322a 100644
--- a/quanta/dialogs/settings/filemaskss.ui
+++ b/quanta/dialogs/settings/filemaskss.ui
@@ -9,7 +9,7 @@
* *
***************************************************************************/
</comment>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>FileMasksS</cstring>
</property>
@@ -29,7 +29,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -39,12 +39,12 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox" row="1" column="1">
+ <widget class="TQComboBox" row="1" column="1">
<property name="name">
<cstring>encodingCombo</cstring>
</property>
</widget>
- <widget class="QComboBox" row="2" column="1">
+ <widget class="TQComboBox" row="2" column="1">
<property name="name">
<cstring>defaultDTDCombo</cstring>
</property>
@@ -52,7 +52,7 @@
<string>New files will have the extension and highlighting according to this setting</string>
</property>
</widget>
- <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQGroupBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
@@ -69,23 +69,23 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="2">
+ <widget class="TQLineEdit" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>lineMarkup</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
- <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
+ <widget class="TQLineEdit" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>lineImage</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
- <widget class="QPushButton" row="4" column="2">
+ <widget class="TQPushButton" row="4" column="2">
<property name="name">
<cstring>buttonDefault</cstring>
</property>
@@ -93,7 +93,7 @@
<string>&amp;Reset to Default</string>
</property>
</widget>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>TextLabel4_2</cstring>
</property>
@@ -104,7 +104,7 @@
<cstring>lineText</cstring>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_3</cstring>
</property>
@@ -115,7 +115,7 @@
<cstring>lineMarkup</cstring>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel3_2</cstring>
</property>
@@ -126,15 +126,15 @@
<cstring>lineImage</cstring>
</property>
</widget>
- <widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="2">
+ <widget class="TQLineEdit" row="3" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>lineText</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
@@ -146,7 +146,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -172,38 +172,38 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>153</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="2">
+ <widget class="TQLineEdit" row="1" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>lineScript</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
</grid>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
<property name="text">
<string>Default character &amp;encoding:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignLeft</set>
</property>
<property name="buddy" stdset="0">
<cstring>encodingCombo</cstring>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel1_2_3</cstring>
</property>
@@ -224,14 +224,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
</spacer>
- <widget class="QButtonGroup" row="5" column="0" rowspan="1" colspan="2">
+ <widget class="TQButtonGroup" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>buttonGroup7</cstring>
</property>
@@ -242,7 +242,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox" row="3" column="0">
+ <widget class="TQCheckBox" row="3" column="0">
<property name="name">
<cstring>reloadFiles</cstring>
</property>
@@ -250,7 +250,7 @@
<string>L&amp;oad last-opened files</string>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="0">
+ <widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>showSplash</cstring>
</property>
@@ -258,7 +258,7 @@
<string>S&amp;how splashscreen</string>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0">
+ <widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>reloadProject</cstring>
</property>
@@ -268,15 +268,15 @@
</widget>
</grid>
</widget>
- <widget class="QLayoutWidget" row="4" column="0">
+ <widget class="TQLayoutWidget" row="4" column="0">
<property name="name">
- <cstring>layout2</cstring>
+ <cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>tlAutoSave</cstring>
</property>
@@ -284,7 +284,7 @@
<string>Create backups every</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>sbAutoSave</cstring>
</property>
@@ -298,7 +298,7 @@
<number>15</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -308,7 +308,7 @@
</widget>
</hbox>
</widget>
- <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>showDTDSelectDialog</cstring>
</property>
@@ -332,5 +332,5 @@
<tabstop>reloadProject</tabstop>
<tabstop>reloadFiles</tabstop>
</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/quanta/dialogs/settings/parseroptions.cpp b/quanta/dialogs/settings/parseroptions.cpp
index 24e3c6a6..c38e2875 100644
--- a/quanta/dialogs/settings/parseroptions.cpp
+++ b/quanta/dialogs/settings/parseroptions.cpp
@@ -22,11 +22,11 @@
#include <kconfig.h>
/*
- * Constructs a ParserOptions which is a child of 'parent', with the
+ * Constructs a ParserOptions which is a child of 'tqparent', with the
* name 'name' and widget flags set to 'f'
*/
-ParserOptions::ParserOptions( KConfig *a_config, TQWidget* parent, const char* name )
- : ParserOptionsUI( parent, name )
+ParserOptions::ParserOptions( KConfig *a_config, TQWidget* tqparent, const char* name )
+ : ParserOptionsUI( tqparent, name )
{
config = a_config;
config->setGroup("Parser options");
@@ -70,7 +70,7 @@ ParserOptions::ParserOptions( KConfig *a_config, TQWidget* parent, const char*
*/
ParserOptions::~ParserOptions()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, TQt does it all for us
}
diff --git a/quanta/dialogs/settings/parseroptions.h b/quanta/dialogs/settings/parseroptions.h
index a4c5f6f3..55710161 100644
--- a/quanta/dialogs/settings/parseroptions.h
+++ b/quanta/dialogs/settings/parseroptions.h
@@ -23,9 +23,10 @@ class KConfig;
class ParserOptions : public ParserOptionsUI
{
Q_OBJECT
+ TQ_OBJECT
public:
- ParserOptions( KConfig *config, TQWidget* parent = 0, const char* name = 0);
+ ParserOptions( KConfig *config, TQWidget* tqparent = 0, const char* name = 0);
~ParserOptions();
void updateConfig();
diff --git a/quanta/dialogs/settings/parseroptionsui.ui b/quanta/dialogs/settings/parseroptionsui.ui
index 34a54cd6..2a5fed0b 100644
--- a/quanta/dialogs/settings/parseroptionsui.ui
+++ b/quanta/dialogs/settings/parseroptionsui.ui
@@ -9,7 +9,7 @@
***************************************************************************/
</comment>
<author>(C) 2002 Andras Mantia &lt;amantia@kde.org&gt;</author>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>ParserOptionsUI</cstring>
</property>
@@ -29,7 +29,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -39,7 +39,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup" row="1" column="0">
+ <widget class="TQButtonGroup" row="1" column="0">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
@@ -50,7 +50,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QSpinBox" row="3" column="2">
+ <widget class="TQSpinBox" row="3" column="2">
<property name="name">
<cstring>refreshFrequency</cstring>
</property>
@@ -74,14 +74,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>122</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>instantUpdate</cstring>
</property>
@@ -102,14 +102,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>122</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>showClosingTags</cstring>
</property>
@@ -117,7 +117,7 @@
<string>Show closing tags</string>
</property>
</widget>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>showEmptyNodes</cstring>
</property>
@@ -125,7 +125,7 @@
<string>Show empt&amp;y nodes and groups</string>
</property>
</widget>
- <widget class="QSpinBox" row="4" column="2">
+ <widget class="TQSpinBox" row="4" column="2">
<property name="name">
<cstring>spinExpand</cstring>
</property>
@@ -136,7 +136,7 @@
<string>Set to 0 in order to expand the whole tree</string>
</property>
</widget>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>TextLabel1_5</cstring>
</property>
@@ -144,7 +144,7 @@
<string>Refresh frequency (in seconds):</string>
</property>
</widget>
- <widget class="QLabel" row="4" column="0">
+ <widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
@@ -154,7 +154,7 @@
</widget>
</grid>
</widget>
- <widget class="QGroupBox" row="0" column="0">
+ <widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
@@ -168,7 +168,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox" row="3" column="1">
+ <widget class="TQComboBox" row="3" column="1">
<item>
<property name="text">
<string>Select Tag Area</string>
@@ -183,7 +183,7 @@
<cstring>comboDoubleClick</cstring>
</property>
</widget>
- <widget class="QComboBox" row="0" column="1">
+ <widget class="TQComboBox" row="0" column="1">
<item>
<property name="text">
<string>Find Tag</string>
@@ -198,7 +198,7 @@
<cstring>comboLBM</cstring>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -206,7 +206,7 @@
<string>Left button:</string>
</property>
</widget>
- <widget class="QComboBox" row="2" column="1">
+ <widget class="TQComboBox" row="2" column="1">
<item>
<property name="text">
<string>Popup Menu</string>
@@ -216,7 +216,7 @@
<cstring>comboRBM</cstring>
</property>
</widget>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>TextLabel1_4</cstring>
</property>
@@ -224,7 +224,7 @@
<string>Double click:</string>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -232,7 +232,7 @@
<string>Middle button:</string>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel1_3</cstring>
</property>
@@ -240,7 +240,7 @@
<string>Right button:</string>
</property>
</widget>
- <widget class="QComboBox" row="1" column="1">
+ <widget class="TQComboBox" row="1" column="1">
<item>
<property name="text">
<string>Find Tag &amp; Open Tree</string>
@@ -282,7 +282,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -310,5 +310,5 @@
<tabstop>refreshFrequency</tabstop>
<tabstop>spinExpand</tabstop>
</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/quanta/dialogs/settings/previewoptions.cpp b/quanta/dialogs/settings/previewoptions.cpp
index 2df03ea9..3c0e3c1b 100644
--- a/quanta/dialogs/settings/previewoptions.cpp
+++ b/quanta/dialogs/settings/previewoptions.cpp
@@ -23,17 +23,17 @@
#include <klocale.h>
#include <kmessagebox.h>
-PreviewOptions::PreviewOptions(TQWidget *parent, const char *name)
- : PreviewOptionsS(parent,name)
+PreviewOptions::PreviewOptions(TQWidget *tqparent, const char *name)
+ : PreviewOptionsS(tqparent,name)
{
}
PreviewOptions::~PreviewOptions(){
}
-void PreviewOptions::setWindowLayout(const TQString& layout )
+void PreviewOptions::setWindowLayout(const TQString& tqlayout )
{
- if ( layout == "Default") resetLayout->setChecked(true);
+ if ( tqlayout == "Default") resetLayout->setChecked(true);
else resetLayout->setChecked(false);
}
@@ -64,12 +64,12 @@ TQString PreviewOptions::docPosition()
return position;
}
-TQString PreviewOptions::layout()
+TQString PreviewOptions::tqlayout()
{
- TQString layout = "Custom";
+ TQString tqlayout = "Custom";
if ( resetLayout->isChecked() )
- layout = "Default";
- return layout;
+ tqlayout = "Default";
+ return tqlayout;
}
TQString PreviewOptions::closeButtons()
diff --git a/quanta/dialogs/settings/previewoptions.h b/quanta/dialogs/settings/previewoptions.h
index 3cc5b820..ebddcc32 100644
--- a/quanta/dialogs/settings/previewoptions.h
+++ b/quanta/dialogs/settings/previewoptions.h
@@ -24,12 +24,13 @@ class KConfig;
class PreviewOptions : public PreviewOptionsS {
Q_OBJECT
+ TQ_OBJECT
public:
- PreviewOptions(TQWidget *parent=0, const char *name=0);
+ PreviewOptions(TQWidget *tqparent=0, const char *name=0);
~PreviewOptions();
TQString position();
- TQString layout();
+ TQString tqlayout();
TQString closeButtons();
TQString docPosition();
uint toolviewTabs();
diff --git a/quanta/dialogs/settings/previewoptionss.ui b/quanta/dialogs/settings/previewoptionss.ui
index a27a164b..e3743258 100644
--- a/quanta/dialogs/settings/previewoptionss.ui
+++ b/quanta/dialogs/settings/previewoptionss.ui
@@ -9,7 +9,7 @@
* *
***************************************************************************/
</comment>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>PreviewOptionsS</cstring>
</property>
@@ -21,7 +21,7 @@
<height>512</height>
</rect>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>350</width>
<height>220</height>
@@ -31,15 +31,15 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>resetLayout</cstring>
</property>
<property name="text">
- <string>Reset window layout to the default on the next startup</string>
+ <string>Reset window tqlayout to the default on the next startup</string>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>showHidden</cstring>
</property>
@@ -47,7 +47,7 @@
<string>Show hidden files in files tree</string>
</property>
</widget>
- <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>saveLocalTrees</cstring>
</property>
@@ -55,7 +55,7 @@
<string>Save tree status for local trees</string>
</property>
</widget>
- <widget class="QButtonGroup" row="1" column="0">
+ <widget class="TQButtonGroup" row="1" column="0">
<property name="name">
<cstring>buttonGroup3</cstring>
</property>
@@ -66,7 +66,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton" row="1" column="0">
+ <widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>radioShowCloseButtons</cstring>
</property>
@@ -77,7 +77,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>radioNoCloseButtons</cstring>
</property>
@@ -85,7 +85,7 @@
<string>&amp;Do not show</string>
</property>
</widget>
- <widget class="QRadioButton" row="2" column="0">
+ <widget class="TQRadioButton" row="2" column="0">
<property name="name">
<cstring>radioDelayedCloseButtons</cstring>
</property>
@@ -95,7 +95,7 @@
</widget>
</grid>
</widget>
- <widget class="QButtonGroup" row="0" column="1">
+ <widget class="TQButtonGroup" row="0" column="1">
<property name="name">
<cstring>buttonGroup3_2</cstring>
</property>
@@ -106,7 +106,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>radioNewDocTab</cstring>
</property>
@@ -117,7 +117,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QRadioButton" row="1" column="0">
+ <widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>radioSeparateDocView</cstring>
</property>
@@ -127,7 +127,7 @@
</widget>
</grid>
</widget>
- <widget class="QButtonGroup" row="1" column="1">
+ <widget class="TQButtonGroup" row="1" column="1">
<property name="name">
<cstring>buttonGroup4</cstring>
</property>
@@ -138,7 +138,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>radioIconText</cstring>
</property>
@@ -149,7 +149,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QRadioButton" row="2" column="0">
+ <widget class="TQRadioButton" row="2" column="0">
<property name="name">
<cstring>radioText</cstring>
</property>
@@ -157,7 +157,7 @@
<string>Text</string>
</property>
</widget>
- <widget class="QRadioButton" row="1" column="0">
+ <widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>radioIcon</cstring>
</property>
@@ -167,7 +167,7 @@
</widget>
</grid>
</widget>
- <widget class="QButtonGroup" row="0" column="0">
+ <widget class="TQButtonGroup" row="0" column="0">
<property name="name">
<cstring>ButtonGroup1</cstring>
</property>
@@ -184,7 +184,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QRadioButton" row="1" column="0">
+ <widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>radioToolview</cstring>
</property>
@@ -192,7 +192,7 @@
<string>Separate toolview</string>
</property>
</widget>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>radioEditor</cstring>
</property>
@@ -215,14 +215,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
</size>
</property>
</spacer>
- <widget class="QButtonGroup" row="5" column="0" rowspan="1" colspan="2">
+ <widget class="TQButtonGroup" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
@@ -233,7 +233,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox" row="0" column="0">
+ <widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>warnBinaryOpening</cstring>
</property>
@@ -241,7 +241,7 @@
<string>Warn about opening binar&amp;y/unknown files</string>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="0">
+ <widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>warnEventActions</cstring>
</property>
@@ -249,7 +249,7 @@
<string>Warn when executing &amp;actions associated with events</string>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0">
+ <widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>warnAll</cstring>
</property>
@@ -276,5 +276,5 @@
<tabstop>radioNoCloseButtons</tabstop>
<tabstop>radioDelayedCloseButtons</tabstop>
</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/quanta/dialogs/settings/styleoptionss.ui b/quanta/dialogs/settings/styleoptionss.ui
index 13ed198d..242e7e7c 100644
--- a/quanta/dialogs/settings/styleoptionss.ui
+++ b/quanta/dialogs/settings/styleoptionss.ui
@@ -9,7 +9,7 @@
* *
***************************************************************************/
</comment>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>StyleOptionsS</cstring>
</property>
@@ -29,7 +29,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>410</width>
<height>250</height>
@@ -39,7 +39,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -47,7 +47,7 @@
<string>Attribute quotation:</string>
</property>
</widget>
- <widget class="QComboBox" row="2" column="1">
+ <widget class="TQComboBox" row="2" column="1">
<item>
<property name="text">
<string>Double Quotes</string>
@@ -62,7 +62,7 @@
<cstring>attributeQuotation</cstring>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -70,7 +70,7 @@
<string>Tag case:</string>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -78,7 +78,7 @@
<string>Attribute case:</string>
</property>
</widget>
- <widget class="QComboBox" row="1" column="1">
+ <widget class="TQComboBox" row="1" column="1">
<item>
<property name="text">
<string>Default Case</string>
@@ -98,7 +98,7 @@
<cstring>attributeCase</cstring>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>optionalTagAutoClose</cstring>
</property>
@@ -106,7 +106,7 @@
<string>Auto-close o&amp;ptional tags</string>
</property>
</widget>
- <widget class="QComboBox" row="0" column="1">
+ <widget class="TQComboBox" row="0" column="1">
<item>
<property name="text">
<string>Default Case</string>
@@ -126,7 +126,7 @@
<cstring>tagCase</cstring>
</property>
</widget>
- <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tagAutoClose</cstring>
</property>
@@ -144,14 +144,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
</size>
</property>
</spacer>
- <widget class="QCheckBox" row="6" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="6" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tagUpdateClosing</cstring>
</property>
@@ -159,7 +159,7 @@
<string>&amp;Update opening/closing tag automatically</string>
</property>
</widget>
- <widget class="QCheckBox" row="5" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>useAutoCompletion</cstring>
</property>
@@ -175,7 +175,7 @@
<string>Use &amp;auto-completion</string>
</property>
</widget>
- <widget class="QCheckBox" row="7" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="7" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>replaceAccented</cstring>
</property>
@@ -183,8 +183,8 @@
<string>Automatic &amp;replacement of the accented characters</string>
</property>
<property name="whatsThis" stdset="0">
- <string>If this option is turned on the accented characters, like &lt;b&gt;&amp;#225;&lt;/b&gt;, will be automatically replaced by their unicode style notation, for the above case with &lt;b&gt;&amp;#038;#225;&lt;/b&gt;.&lt;br&gt;
-We suggest to leave this option off and use an unicode or locale encoding for your documents.</string>
+ <string>If this option is turned on the accented characters, like &lt;b&gt;&amp;#225;&lt;/b&gt;, will be automatically replaced by their tqunicode style notation, for the above case with &lt;b&gt;&amp;#038;#225;&lt;/b&gt;.&lt;br&gt;
+We suggest to leave this option off and use an tqunicode or locale encoding for your documents.</string>
</property>
</widget>
</grid>
@@ -197,5 +197,5 @@ We suggest to leave this option off and use an unicode or locale encoding for yo
<tabstop>tagAutoClose</tabstop>
<tabstop>useAutoCompletion</tabstop>
</tabstops>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>