From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krandr/libkrandr.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'krandr/libkrandr.cc') diff --git a/krandr/libkrandr.cc b/krandr/libkrandr.cc index cbb023e4f..e3e245b2e 100644 --- a/krandr/libkrandr.cc +++ b/krandr/libkrandr.cc @@ -32,7 +32,7 @@ TQString KRandrSimpleAPI::getIccFileName(TQString profileName, TQString screenNa TQString retval; if (profileName != NULL) { - t_config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" )); + t_config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" )); } else { t_systemconfig = new KSimpleConfig( kde_confdir + TQString("/kicc/kiccconfigrc") ); @@ -216,7 +216,7 @@ TQString KRandrSimpleAPI::applyIccConfiguration(TQString profileName, TQString k int screenNumber = 0; TQString errorstr = ""; - t_config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" )); + t_config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" )); // Find all screens if (isValid() == true) { @@ -248,7 +248,7 @@ TQString KRandrSimpleAPI::getCurrentProfile () { TQString profileName; KSimpleConfig *t_config; - t_config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" )); + t_config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" )); profileName = t_config->readEntry("CurrentProfile"); delete t_config; return profileName; @@ -332,14 +332,14 @@ void KRandrSimpleAPI::output_off(ScreenInfo *screen_info, OutputInfo *output) internal_output_off(screen_info, output); } -CrtcInfo* KRandrSimpleAPI::auto_find_crtc (ScreenInfo *screen_info, OutputInfo *output_info) +CrtcInfo* KRandrSimpleAPI::auto_tqfind_crtc (ScreenInfo *screen_info, OutputInfo *output_info) { - return internal_auto_find_crtc (screen_info, output_info); + return internal_auto_tqfind_crtc (screen_info, output_info); } -XRRModeInfo *KRandrSimpleAPI::find_mode_by_xid (ScreenInfo *screen_info, RRMode mode_id) +XRRModeInfo *KRandrSimpleAPI::tqfind_mode_by_xid (ScreenInfo *screen_info, RRMode mode_id) { - return internal_find_mode_by_xid (screen_info, mode_id); + return internal_tqfind_mode_by_xid (screen_info, mode_id); } int KRandrSimpleAPI::mode_height (XRRModeInfo *mode_info, Rotation rotation) @@ -367,12 +367,12 @@ char *KRandrSimpleAPI::get_output_name (ScreenInfo *screen_info, RROutput id) return internal_get_output_name (screen_info, id); } -Status KRandrSimpleAPI::crtc_apply (CrtcInfo *crtc_info) +tqStatus KRandrSimpleAPI::crtc_apply (CrtcInfo *crtc_info) { return internal_crtc_apply (crtc_info); } -Status KRandrSimpleAPI::crtc_disable (CrtcInfo *crtc) +tqStatus KRandrSimpleAPI::crtc_disable (CrtcInfo *crtc) { return internal_crtc_disable (crtc); } -- cgit v1.2.1