summaryrefslogtreecommitdiffstats
path: root/kdesu/kcookie.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdesu/kcookie.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesu/kcookie.h')
-rw-r--r--kdesu/kcookie.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kdesu/kcookie.h b/kdesu/kcookie.h
index ed1cbf1d2..4bd9fbf1e 100644
--- a/kdesu/kcookie.h
+++ b/kdesu/kcookie.h
@@ -13,10 +13,10 @@
#ifndef __KCookie_h_Included__
#define __KCookie_h_Included__
-#include <qcstring.h>
-#include <qvaluelist.h>
+#include <tqcstring.h>
+#include <tqvaluelist.h>
-typedef QValueList<QCString> QCStringList;
+typedef TQValueList<TQCString> QCStringList;
/**
@@ -32,40 +32,40 @@ public:
/**
* Returns the X11 display.
*/
- QCString display() { return m_Display; }
+ TQCString display() { return m_Display; }
#ifdef Q_WS_X11
/**
* Returns the X11 magic cookie, if available.
*/
- QCString displayAuth() { return m_DisplayAuth; }
+ TQCString displayAuth() { return m_DisplayAuth; }
#endif
/**
* Select the DCOP transport to look for. Default: "local"
*/
- void setDcopTransport(const QCString &dcopTransport);
+ void setDcopTransport(const TQCString &dcopTransport);
/**
* Returns the netid where the dcopserver is running
*/
- QCString dcopServer();
+ TQCString dcopServer();
/**
* Returns a list of magic cookies for DCOP protocol authentication.
* The order is the same as in dcopServer().
*/
- QCString dcopAuth();
+ TQCString dcopAuth();
/**
* Returns a list of magic cookies for the ICE protocol.
*/
- QCString iceAuth();
+ TQCString iceAuth();
private:
void getXCookie();
void getICECookie();
- QCStringList split(const QCString &line, char ch);
+ QCStringList split(const TQCString &line, char ch);
void blockSigChild();
void unblockSigChild();
@@ -73,14 +73,14 @@ private:
bool m_bHaveDCOPCookies;
bool m_bHaveICECookies;
- QCString m_Display;
+ TQCString m_Display;
#ifdef Q_WS_X11
- QCString m_DisplayAuth;
+ TQCString m_DisplayAuth;
#endif
- QCString m_DCOPSrv;
- QCString m_DCOPAuth;
- QCString m_ICEAuth;
- QCString m_dcopTransport;
+ TQCString m_DCOPSrv;
+ TQCString m_DCOPAuth;
+ TQCString m_ICEAuth;
+ TQCString m_dcopTransport;
class KCookiePrivate;
KCookiePrivate *d;