summaryrefslogtreecommitdiffstats
path: root/kioslave/media/propsdlgplugin
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kioslave/media/propsdlgplugin
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/media/propsdlgplugin')
-rw-r--r--kioslave/media/propsdlgplugin/propertiespage.cpp46
-rw-r--r--kioslave/media/propsdlgplugin/propertiespagegui.ui18
2 files changed, 32 insertions, 32 deletions
diff --git a/kioslave/media/propsdlgplugin/propertiespage.cpp b/kioslave/media/propsdlgplugin/propertiespage.cpp
index 14ac2b33f..70eab1b83 100644
--- a/kioslave/media/propsdlgplugin/propertiespage.cpp
+++ b/kioslave/media/propsdlgplugin/propertiespage.cpp
@@ -60,49 +60,49 @@ PropertiesPage::PropertiesPage(TQWidget* parent, const TQString &_id)
options[key] = value;
}
- if (!options.contains("ro"))
+ if (!options.tqcontains("ro"))
option_ro->hide();
else
option_ro->setChecked(options["ro"] == "true");
connect( option_ro, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("quiet"))
+ if (!options.tqcontains("quiet"))
option_quiet->hide();
else
option_quiet->setChecked(options["quiet"] == "true");
connect( option_quiet, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("sync"))
+ if (!options.tqcontains("sync"))
option_sync->hide();
else
option_sync->setChecked(options["sync"] == "true");
connect( option_sync, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("atime"))
+ if (!options.tqcontains("atime"))
option_atime->hide();
else
option_atime->setChecked(options["atime"] == "true");
connect( option_atime, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("flush"))
+ if (!options.tqcontains("flush"))
option_flush->hide();
else
option_flush->setChecked(options["flush"] == "true");
connect( option_flush, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("utf8"))
+ if (!options.tqcontains("utf8"))
option_utf8->hide();
else
option_utf8->setChecked(options["utf8"] == "true");
connect( option_utf8, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("uid"))
+ if (!options.tqcontains("uid"))
option_uid->hide();
else
option_uid->setChecked(options["uid"] == "true");
connect( option_uid, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("shortname"))
+ if (!options.tqcontains("shortname"))
{
option_shortname->hide();
text_shortname->hide();
@@ -118,7 +118,7 @@ PropertiesPage::PropertiesPage(TQWidget* parent, const TQString &_id)
connect( option_shortname, TQT_SIGNAL( activated(int) ), TQT_SIGNAL( changed() ) );
}
- if (!options.contains("journaling"))
+ if (!options.tqcontains("journaling"))
{
text_journaling->hide();
option_journaling->hide();
@@ -140,11 +140,11 @@ PropertiesPage::PropertiesPage(TQWidget* parent, const TQString &_id)
option_automount->setChecked(options["automount"] == "true");
connect( option_automount, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
- if (!options.contains("journaling") &&
- !options.contains("shortname") &&
- !options.contains("uid") &&
- !options.contains("utf8") &&
- !options.contains("flush"))
+ if (!options.tqcontains("journaling") &&
+ !options.tqcontains("shortname") &&
+ !options.tqcontains("uid") &&
+ !options.tqcontains("utf8") &&
+ !options.tqcontains("flush"))
groupbox_specific->hide();
} else {
@@ -163,31 +163,31 @@ bool PropertiesPage::save()
{
TQStringList result;
- if (options.contains("ro"))
+ if (options.tqcontains("ro"))
result << TQString("ro=%1").arg(option_ro->isChecked() ? "true" : "false");
- if (options.contains("quiet"))
+ if (options.tqcontains("quiet"))
result << TQString("quiet=%1").arg(option_quiet->isChecked() ? "true" : "false");
- if (options.contains("sync"))
+ if (options.tqcontains("sync"))
result << TQString("sync=%1").arg(option_sync->isChecked() ? "true" : "false");
- if (options.contains("atime"))
+ if (options.tqcontains("atime"))
result << TQString("atime=%1").arg(option_atime->isChecked() ? "true" : "false");
- if (options.contains("flush"))
+ if (options.tqcontains("flush"))
result << TQString("flush=%1").arg(option_flush->isChecked() ? "true" : "false");
- if (options.contains("utf8"))
+ if (options.tqcontains("utf8"))
result << TQString("utf8=%1").arg(option_utf8->isChecked() ? "true" : "false");
- if (options.contains("uid"))
+ if (options.tqcontains("uid"))
result << TQString("uid=%1").arg(option_uid->isChecked() ? "true" : "false");
- if (options.contains("shortname"))
+ if (options.tqcontains("shortname"))
result << TQString("shortname=%1").arg(short_names[option_shortname->currentItem()]);
- if (options.contains("journaling"))
+ if (options.tqcontains("journaling"))
result << TQString("journaling=%1").arg(journales[option_journaling->currentItem()]);
TQString mp = option_mountpoint->text();
diff --git a/kioslave/media/propsdlgplugin/propertiespagegui.ui b/kioslave/media/propsdlgplugin/propertiespagegui.ui
index c4de4c059..7c91db351 100644
--- a/kioslave/media/propsdlgplugin/propertiespagegui.ui
+++ b/kioslave/media/propsdlgplugin/propertiespagegui.ui
@@ -4,7 +4,7 @@
<property name="name">
<cstring>PropertiesPageGUI</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@@ -21,7 +21,7 @@
</property>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout17</cstring>
+ <cstring>tqlayout17</cstring>
</property>
<vbox>
<property name="name">
@@ -40,7 +40,7 @@
</property>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout15</cstring>
+ <cstring>tqlayout15</cstring>
</property>
<vbox>
<property name="name">
@@ -92,7 +92,7 @@
</widget>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout14</cstring>
+ <cstring>tqlayout14</cstring>
</property>
<hbox>
<property name="name">
@@ -150,7 +150,7 @@
</property>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout11</cstring>
+ <cstring>tqlayout11</cstring>
</property>
<vbox>
<property name="name">
@@ -191,7 +191,7 @@
</widget>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout7</cstring>
+ <cstring>tqlayout7</cstring>
</property>
<hbox>
<property name="name">
@@ -256,7 +256,7 @@
</widget>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout14</cstring>
+ <cstring>tqlayout14</cstring>
</property>
<hbox>
<property name="name">
@@ -352,7 +352,7 @@ Display the short name as is; store a long name when the short name is not all u
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -383,5 +383,5 @@ Display the short name as is; store a long name when the short name is not all u
<functions>
<function returnType="bool">hasChanged()</function>
</functions>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>