diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:13:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:13:02 -0600 |
commit | 8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 (patch) | |
tree | bf71d4bfa94d0561e80456400ae5fe2bb501fbd8 /kcontrol/input/main.cpp | |
parent | e8a1cdc01d38125bea12d5494db977ae6429919a (diff) | |
download | tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.tar.gz tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.zip |
Rename additional global functions and variables for tqt3
Diffstat (limited to 'kcontrol/input/main.cpp')
-rw-r--r-- | kcontrol/input/main.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/input/main.cpp b/kcontrol/input/main.cpp index f42498aab..439e5f676 100644 --- a/kcontrol/input/main.cpp +++ b/kcontrol/input/main.cpp @@ -62,23 +62,23 @@ extern "C" // use a default value for theme only if it's not configured at all, not even in X resources if( theme.isEmpty() - && TQCString( XGetDefault( qt_xdisplay(), "Xcursor", "theme" )).isEmpty() - && TQCString( XcursorGetTheme( qt_xdisplay())).isEmpty()) + && TQCString( XGetDefault( tqt_xdisplay(), "Xcursor", "theme" )).isEmpty() + && TQCString( XcursorGetTheme( tqt_xdisplay())).isEmpty()) { theme = "default"; } // Apply the KDE cursor theme to ourselves if( !theme.isEmpty()) - XcursorSetTheme(qt_xdisplay(), theme.data()); + XcursorSetTheme(tqt_xdisplay(), theme.data()); if (!size.isEmpty()) - XcursorSetDefaultSize(qt_xdisplay(), size.toUInt()); + XcursorSetDefaultSize(tqt_xdisplay(), size.toUInt()); // Load the default cursor from the theme and apply it to the root window. - Cursor handle = XcursorLibraryLoadCursor(qt_xdisplay(), "left_ptr"); - XDefineCursor(qt_xdisplay(), qt_xrootwin(), handle); - XFreeCursor(qt_xdisplay(), handle); // Don't leak the cursor + Cursor handle = XcursorLibraryLoadCursor(tqt_xdisplay(), "left_ptr"); + XDefineCursor(tqt_xdisplay(), tqt_xrootwin(), handle); + XFreeCursor(tqt_xdisplay(), handle); // Don't leak the cursor // Tell klauncher to set the XCURSOR_THEME and XCURSOR_SIZE environment // variables when launching applications. |