summaryrefslogtreecommitdiffstats
path: root/kdepasswd/kcm
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:46:05 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:46:05 -0600
commit73c08b592db45af554b9f21029bc549d70f683ab (patch)
tree122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kdepasswd/kcm
parente81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff)
downloadtdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz
tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdepasswd/kcm')
-rw-r--r--kdepasswd/kcm/chfacedlg.cpp2
-rw-r--r--kdepasswd/kcm/main.cpp10
-rw-r--r--kdepasswd/kcm/main_widget.ui12
3 files changed, 12 insertions, 12 deletions
diff --git a/kdepasswd/kcm/chfacedlg.cpp b/kdepasswd/kcm/chfacedlg.cpp
index 8344164db..fdb730bee 100644
--- a/kdepasswd/kcm/chfacedlg.cpp
+++ b/kdepasswd/kcm/chfacedlg.cpp
@@ -26,7 +26,7 @@
*/
#include <tqstring.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqpixmap.h>
#include <tqimage.h>
diff --git a/kdepasswd/kcm/main.cpp b/kdepasswd/kcm/main.cpp
index 8a6a520bb..152c7e764 100644
--- a/kdepasswd/kcm/main.cpp
+++ b/kdepasswd/kcm/main.cpp
@@ -20,7 +20,7 @@
*
*/
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqlineedit.h>
#include <tqbuttongroup.h>
@@ -28,7 +28,7 @@
#include <tqpixmap.h>
#include <tqcstring.h>
#include <tqstringlist.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kpushbutton.h>
#include <kguiitem.h>
@@ -150,11 +150,11 @@ void KCMUserAccount::load()
KGlobal::dirs()->resourceDirs("data").last() + "kdm/faces/";
TQString fs = KCFGUserAccount::faceSource();
- if (fs == TQString::tqfromLatin1("UserOnly"))
+ if (fs == TQString::fromLatin1("UserOnly"))
_facePerm = userOnly;
- else if (fs == TQString::tqfromLatin1("PreferUser"))
+ else if (fs == TQString::fromLatin1("PreferUser"))
_facePerm = userFirst;
- else if (fs == TQString::tqfromLatin1("PreferAdmin"))
+ else if (fs == TQString::fromLatin1("PreferAdmin"))
_facePerm = adminFirst;
else
_facePerm = adminOnly; // Admin Only
diff --git a/kdepasswd/kcm/main_widget.ui b/kdepasswd/kcm/main_widget.ui
index bb5a57b94..b1933f592 100644
--- a/kdepasswd/kcm/main_widget.ui
+++ b/kdepasswd/kcm/main_widget.ui
@@ -32,13 +32,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>74</width>
<height>74</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>74</width>
<height>74</height>
@@ -154,7 +154,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -182,7 +182,7 @@
<property name="text">
<string></string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
</widget>
@@ -193,7 +193,7 @@
<property name="text">
<string>&lt;i&gt;(Click the button to change your image)&lt;/i&gt;</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
</widget>
@@ -217,7 +217,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>111</width>
<height>20</height>