summaryrefslogtreecommitdiffstats
path: root/kcontrol/input/main.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 /kcontrol/input/main.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 'kcontrol/input/main.cpp')
-rw-r--r--kcontrol/input/main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/input/main.cpp b/kcontrol/input/main.cpp
index f0a464adc..f42498aab 100644
--- a/kcontrol/input/main.cpp
+++ b/kcontrol/input/main.cpp
@@ -29,7 +29,7 @@
#include <kglobal.h>
#include <kconfig.h>
#include <dcopref.h>
-#include <qfile.h>
+#include <tqfile.h>
#include <X11/Xlib.h>
@@ -41,7 +41,7 @@
extern "C"
{
- KDE_EXPORT KCModule *create_mouse(QWidget *parent, const char *)
+ KDE_EXPORT KCModule *create_mouse(TQWidget *parent, const char *)
{
return new MouseConfig(parent, "kcminput");
}
@@ -55,15 +55,15 @@ extern "C"
#ifdef HAVE_XCURSOR
config->setGroup("Mouse");
- QCString theme = QFile::encodeName(config->readEntry("cursorTheme", QString()));
- QCString size = config->readEntry("cursorSize", QString()).local8Bit();
+ TQCString theme = TQFile::encodeName(config->readEntry("cursorTheme", TQString()));
+ TQCString size = config->readEntry("cursorSize", TQString()).local8Bit();
// Note: If you update this code, update kapplymousetheme as well.
// use a default value for theme only if it's not configured at all, not even in X resources
if( theme.isEmpty()
- && QCString( XGetDefault( qt_xdisplay(), "Xcursor", "theme" )).isEmpty()
- && QCString( XcursorGetTheme( qt_xdisplay())).isEmpty())
+ && TQCString( XGetDefault( qt_xdisplay(), "Xcursor", "theme" )).isEmpty()
+ && TQCString( XcursorGetTheme( qt_xdisplay())).isEmpty())
{
theme = "default";
}
@@ -84,9 +84,9 @@ extern "C"
// variables when launching applications.
DCOPRef klauncher("klauncher");
if( !theme.isEmpty())
- klauncher.send("setLaunchEnv", QCString("XCURSOR_THEME"), theme);
+ klauncher.send("setLaunchEnv", TQCString("XCURSOR_THEME"), theme);
if( !size.isEmpty())
- klauncher.send("setLaunchEnv", QCString("XCURSOR_SIZE"), size);
+ klauncher.send("setLaunchEnv", TQCString("XCURSOR_SIZE"), size);
#endif
delete config;