summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/settings
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/dialogs/settings')
-rw-r--r--quanta/dialogs/settings/abbreviation.cpp10
-rw-r--r--quanta/dialogs/settings/abbreviations.ui4
-rw-r--r--quanta/dialogs/settings/codetemplatedlgs.ui2
-rw-r--r--quanta/dialogs/settings/filemaskss.ui20
-rw-r--r--quanta/dialogs/settings/parseroptionsui.ui8
-rw-r--r--quanta/dialogs/settings/previewoptions.cpp12
-rw-r--r--quanta/dialogs/settings/previewoptions.h2
-rw-r--r--quanta/dialogs/settings/previewoptionss.ui6
-rw-r--r--quanta/dialogs/settings/styleoptionss.ui8
9 files changed, 36 insertions, 36 deletions
diff --git a/quanta/dialogs/settings/abbreviation.cpp b/quanta/dialogs/settings/abbreviation.cpp
index bfaae460..46805d0e 100644
--- a/quanta/dialogs/settings/abbreviation.cpp
+++ b/quanta/dialogs/settings/abbreviation.cpp
@@ -17,8 +17,8 @@
#include <tqfile.h>
#include <tqfileinfo.h>
#include <tqlineedit.h>
-#include <textedit.h>
-#include <textstream.h>
+#include <tqtextedit.h>
+#include <tqtextstream.h>
#include <tqtimer.h>
//kde includes
@@ -97,7 +97,7 @@ void AbbreviationDlg::slotNewGroup()
{
if (qConfig.abbreviations.contains(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(),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;
@@ -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/abbreviations.ui b/quanta/dialogs/settings/abbreviations.ui
index b73e902b..0c9c232a 100644
--- a/quanta/dialogs/settings/abbreviations.ui
+++ b/quanta/dialogs/settings/abbreviations.ui
@@ -170,7 +170,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -255,7 +255,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/quanta/dialogs/settings/codetemplatedlgs.ui b/quanta/dialogs/settings/codetemplatedlgs.ui
index 7a1367b9..82d1976f 100644
--- a/quanta/dialogs/settings/codetemplatedlgs.ui
+++ b/quanta/dialogs/settings/codetemplatedlgs.ui
@@ -21,7 +21,7 @@
<height>72</height>
</rect>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>400</width>
<height>70</height>
diff --git a/quanta/dialogs/settings/filemaskss.ui b/quanta/dialogs/settings/filemaskss.ui
index 7fe28ce1..e4c408d3 100644
--- a/quanta/dialogs/settings/filemaskss.ui
+++ b/quanta/dialogs/settings/filemaskss.ui
@@ -29,7 +29,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -73,7 +73,7 @@
<property name="name">
<cstring>lineMarkup</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
@@ -81,7 +81,7 @@
<property name="name">
<cstring>lineImage</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
@@ -130,7 +130,7 @@
<property name="name">
<cstring>lineText</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
@@ -146,7 +146,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -172,7 +172,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>153</width>
<height>20</height>
@@ -183,7 +183,7 @@
<property name="name">
<cstring>lineScript</cstring>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignLeft</set>
</property>
</widget>
@@ -196,7 +196,7 @@
<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">
@@ -224,7 +224,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>50</height>
@@ -270,7 +270,7 @@
</widget>
<widget class="TQLayoutWidget" row="4" column="0">
<property name="name">
- <cstring>layout2</cstring>
+ <cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
diff --git a/quanta/dialogs/settings/parseroptionsui.ui b/quanta/dialogs/settings/parseroptionsui.ui
index 14095623..2637e71d 100644
--- a/quanta/dialogs/settings/parseroptionsui.ui
+++ b/quanta/dialogs/settings/parseroptionsui.ui
@@ -29,7 +29,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -74,7 +74,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>122</width>
<height>20</height>
@@ -102,7 +102,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>122</width>
<height>20</height>
@@ -282,7 +282,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/quanta/dialogs/settings/previewoptions.cpp b/quanta/dialogs/settings/previewoptions.cpp
index 2df03ea9..e1df2225 100644
--- a/quanta/dialogs/settings/previewoptions.cpp
+++ b/quanta/dialogs/settings/previewoptions.cpp
@@ -31,9 +31,9 @@ PreviewOptions::PreviewOptions(TQWidget *parent, const char *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 a3cce15e..24f1a765 100644
--- a/quanta/dialogs/settings/previewoptions.h
+++ b/quanta/dialogs/settings/previewoptions.h
@@ -30,7 +30,7 @@ public:
~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 821cdfcc..02bdc979 100644
--- a/quanta/dialogs/settings/previewoptionss.ui
+++ b/quanta/dialogs/settings/previewoptionss.ui
@@ -21,7 +21,7 @@
<height>512</height>
</rect>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>350</width>
<height>220</height>
@@ -36,7 +36,7 @@
<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="TQCheckBox" row="3" column="0" rowspan="1" colspan="2">
@@ -215,7 +215,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
diff --git a/quanta/dialogs/settings/styleoptionss.ui b/quanta/dialogs/settings/styleoptionss.ui
index 397c99af..e14cfda6 100644
--- a/quanta/dialogs/settings/styleoptionss.ui
+++ b/quanta/dialogs/settings/styleoptionss.ui
@@ -29,7 +29,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>410</width>
<height>250</height>
@@ -144,7 +144,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -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>