summaryrefslogtreecommitdiffstats
path: root/kpersonalizer/kospage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kpersonalizer/kospage.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpersonalizer/kospage.cpp')
-rw-r--r--kpersonalizer/kospage.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kpersonalizer/kospage.cpp b/kpersonalizer/kospage.cpp
index 81c2e57b6..839cc241a 100644
--- a/kpersonalizer/kospage.cpp
+++ b/kpersonalizer/kospage.cpp
@@ -15,11 +15,11 @@
* *
***************************************************************************/
-#include <qlabel.h>
-#include <qcheckbox.h>
-#include <qradiobutton.h>
-#include <qtextview.h>
-#include <qmap.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
+#include <tqradiobutton.h>
+#include <tqtextview.h>
+#include <tqmap.h>
#include <ksimpleconfig.h>
#include <kstandarddirs.h>
@@ -36,7 +36,7 @@
#include "kospage.h"
-KOSPage::KOSPage(QWidget *parent, const char *name ) : KOSPageDlg(parent,name) {
+KOSPage::KOSPage(TQWidget *parent, const char *name ) : KOSPageDlg(parent,name) {
px_osSidebar->setPixmap(UserIcon("step2.png"));
// initialize the textview with the default description - KDE of course
slotKDEDescription();
@@ -87,10 +87,10 @@ void KOSPage::save(bool currSettings){
///////////////////////////////////////////
// kcmdisplay changes
KIPC::sendMessageAll(KIPC::SettingsChanged);
- QApplication::syncX();
+ TQApplication::syncX();
// enable/disable the mac menu, call dcop
// Tell kdesktop about the new config file
- kapp->dcopClient()->send("kdesktop", "KDesktopIface", "configure()", QByteArray());
+ kapp->dcopClient()->send("kdesktop", "KDesktopIface", "configure()", TQByteArray());
///////////////////////////////////////////
/// restart kwin for window effects
kapp->dcopClient()->send("kwin*", "", "reconfigure()", "");
@@ -305,7 +305,7 @@ void KOSPage::writeMacOS(){
/** write Keyscheme to kdeglobals (called by saveCheckState) */
-void KOSPage::writeKeyEntrys(QString keyfile){
+void KOSPage::writeKeyEntrys(TQString keyfile){
kdDebug() << "KOSPage::writeKeyEntrys()" << endl;
// load the given .kksrc - file
@@ -314,13 +314,13 @@ void KOSPage::writeKeyEntrys(QString keyfile){
KSimpleConfig* defScheme = new KSimpleConfig(locate("keys", "kde3.kksrc"), true);
// we need the entries from the default - file, so we can compare with them
- QMap<QString, QString> defMap = defScheme->entryMap("Global Shortcuts");
+ TQMap<TQString, TQString> defMap = defScheme->entryMap("Global Shortcuts");
// first delete the group in kdeglobals, then write the non-default entries from the global .kksrc - file
cglobal->deleteGroup("Global Shortcuts", true, true);
// get the Global - Shortcuts and write them to kdeglobals
cglobal->setGroup("Global Shortcuts");
- QMap<QString, QString> givenMap = scheme->entryMap("Global Shortcuts");
- for ( QMap<QString, QString>::Iterator it = givenMap.begin(); it != givenMap.end(); ++it ) {
+ TQMap<TQString, TQString> givenMap = scheme->entryMap("Global Shortcuts");
+ for ( TQMap<TQString, TQString>::Iterator it = givenMap.begin(); it != givenMap.end(); ++it ) {
if ( (defMap[it.key()] == it.data()) && (it.data() != "none") ) {
cglobal->writeEntry(it.key(), "default("+it.data()+")", true, true);
} else {
@@ -334,7 +334,7 @@ void KOSPage::writeKeyEntrys(QString keyfile){
cglobal->deleteGroup("Shortcuts", true, true);
cglobal->setGroup("Shortcuts");
givenMap = scheme->entryMap("Shortcuts");
- for ( QMap<QString, QString>::Iterator it = givenMap.begin(); it != givenMap.end(); ++it ) {
+ for ( TQMap<TQString, TQString>::Iterator it = givenMap.begin(); it != givenMap.end(); ++it ) {
// only write the entry, if it defers from kde3.kksrc
if ( defMap[it.key()] != it.data() ) {
cglobal->writeEntry(it.key(), it.data(), true, true);
@@ -485,7 +485,7 @@ void KOSPage::writeUserKeys(){
kdDebug() << "KOSPage::writeUserKeys()" << endl;
cglobal->setGroup("Global Shortcuts");
- QMap<QString, QString>::Iterator it;
+ TQMap<TQString, TQString>::Iterator it;
for ( it = map_GlobalUserKeys.begin(); it != map_GlobalUserKeys.end(); ++it ) {
cglobal->writeEntry(it.key(), it.data(), true, true);
}