summaryrefslogtreecommitdiffstats
path: root/krfb/krfb/configuration.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /krfb/krfb/configuration.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krfb/krfb/configuration.h')
-rw-r--r--krfb/krfb/configuration.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/krfb/krfb/configuration.h b/krfb/krfb/configuration.h
index cec7a2ed..57e03385 100644
--- a/krfb/krfb/configuration.h
+++ b/krfb/krfb/configuration.h
@@ -26,10 +26,10 @@
#include <dcopref.h>
#include <kconfig.h>
-#include <qtimer.h>
-#include <qobject.h>
-#include <qvalidator.h>
-#include <qstring.h>
+#include <tqtimer.h>
+#include <tqobject.h>
+#include <tqvalidator.h>
+#include <tqstring.h>
#include <dcopobject.h>
@@ -46,7 +46,7 @@ enum krfb_mode {
* standalone-config-dialog and all the invitation dialogs
* @author Tim Jansen
*/
-class Configuration : public QObject, public DCOPObject {
+class Configuration : public TQObject, public DCOPObject {
K_DCOP
Q_OBJECT
public:
@@ -58,8 +58,8 @@ public:
bool allowDesktopControl() const;
bool allowUninvitedConnections() const;
bool enableSLP() const;
- QString password() const;
- QString hostname() const;
+ TQString password() const;
+ TQString hostname() const;
int port() const;
int preferredPort() const;
bool disableBackground() const;
@@ -68,15 +68,15 @@ public:
void setAllowUninvited(bool allowUninvited);
void setEnableSLP(bool e);
void setAskOnConnect(bool askOnConnect);
- void setPassword(QString password);
+ void setPassword(TQString password);
void setPreferredPort(int p);
void setDisableBackground(bool disable);
void setDisableXShm(bool disable);
void save();
void update();
- QValueList<Invitation> &invitations();
- void removeInvitation(QValueList<Invitation>::iterator it);
+ TQValueList<Invitation> &invitations();
+ void removeInvitation(TQValueList<Invitation>::iterator it);
signals:
void invitationFinished();
void invitationNumChanged(int num);
@@ -97,7 +97,7 @@ private:
Invitation createInvitation();
void closeInvDlg();
void invalidateOldInvitations();
- void setKInetdEnabled(const QDateTime &date);
+ void setKInetdEnabled(const TQDateTime &date);
void setKInetdEnabled(bool enabled);
void setKInetdServiceRegistrationEnabled(bool enabled);
void getPortFromKInetd();
@@ -109,7 +109,7 @@ private:
ManageInvitationsDialog invMngDlg;
InviteDialog invDlg;
PersonalInviteDialog persInvDlg;
- QTimer refreshTimer;
+ TQTimer refreshTimer;
bool askOnConnectFlag;
bool allowDesktopControlFlag;
@@ -120,8 +120,8 @@ private:
DCOPRef kinetdRef;
- QString passwordString;
- QValueList<Invitation> invitationList;
+ TQString passwordString;
+ TQValueList<Invitation> invitationList;
bool disableBackgroundFlag;
bool disableXShmFlag;