summaryrefslogtreecommitdiffstats
path: root/kuser/propdlg.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kuser/propdlg.h
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kuser/propdlg.h')
-rw-r--r--kuser/propdlg.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/kuser/propdlg.h b/kuser/propdlg.h
index 2832574..a1dc85d 100644
--- a/kuser/propdlg.h
+++ b/kuser/propdlg.h
@@ -21,14 +21,14 @@
#ifndef _KU_PROPDLG_H_
#define _KU_PROPDLG_H_
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qwidget.h>
-#include <qlistbox.h>
-#include <qtooltip.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qmap.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqwidget.h>
+#include <tqlistbox.h>
+#include <tqtooltip.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqmap.h>
#include <klineedit.h>
#include <kdatetimewidget.h>
@@ -44,10 +44,10 @@ class propdlg : public KDialogBase
Q_OBJECT
public:
- propdlg( const QPtrList<KU::KUser> &users,
- QWidget *parent = 0, const char *name = 0 );
+ propdlg( const TQPtrList<KU::KUser> &users,
+ TQWidget *parent = 0, const char *name = 0 );
propdlg( KU::KUser *AUser, bool fixedprivgroup,
- QWidget *parent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
~propdlg();
void mergeUser( KU::KUser *user, KU::KUser *newuser );
@@ -68,43 +68,43 @@ protected:
bool saveg();
bool check();
void loadgroups( bool fixedprivgroup );
- bool checkShell(const QString &shell);
- void addRow( QWidget *parent, QGridLayout *layout, int row,
- QWidget *widget, const QString &label, const QString &what,
+ bool checkShell(const TQString &shell);
+ void addRow( TQWidget *parent, TQGridLayout *layout, int row,
+ TQWidget *widget, const TQString &label, const TQString &what,
bool two_column=true, bool nochange=true );
- void setLE( KLineEdit *le, const QString &val, bool first );
- void setCB( QCheckBox *cb, bool val, bool first );
+ void setLE( KLineEdit *le, const TQString &val, bool first );
+ void setCB( TQCheckBox *cb, bool val, bool first );
void setSB( KIntSpinBox *sb, int val, bool first );
- QString mergeLE( KLineEdit *le, const QString &val, bool one );
+ TQString mergeLE( KLineEdit *le, const TQString &val, bool one );
int mergeSB( KIntSpinBox *sb, int val, bool one );
- KIntSpinBox *addDaysGroup( QWidget *parent, QGridLayout *layout, int row,
- const QString &title, bool never=true );
+ KIntSpinBox *addDaysGroup( TQWidget *parent, TQGridLayout *layout, int row,
+ const TQString &title, bool never=true );
- QFrame *frontpage;
- QGridLayout *frontlayout;
+ TQFrame *frontpage;
+ TQGridLayout *frontlayout;
int frontrow;
- QPtrList<KU::KUser> mUsers;
- QMap<QWidget*, QCheckBox*> mNoChanges;
+ TQPtrList<KU::KUser> mUsers;
+ TQMap<TQWidget*, TQCheckBox*> mNoChanges;
bool ismoreshells;
bool ischanged;
bool isgchanged;
uid_t olduid;
uint oldrid;
- QString oldshell;
- QString primaryGroup;
+ TQString oldshell;
+ TQString primaryGroup;
bool primaryGroupWasOn;
bool ro;
- QString newpass;
+ TQString newpass;
time_t lstchg;
KListView *lstgrp;
- QPushButton *pbsetpwd;
+ TQPushButton *pbsetpwd;
- QLabel *lbuser;
+ TQLabel *lbuser;
KLineEdit *leid;
KLineEdit *lefname;
KLineEdit *lesurname;
@@ -122,19 +122,19 @@ protected:
KLineEdit *leoffice2;
KLineEdit *leaddress;
- QCheckBox *cbdisabled;
- QCheckBox *cbposix;
- QCheckBox *cbsamba;
- QLabel *leprigr;
- QPushButton *pbprigr;
+ TQCheckBox *cbdisabled;
+ TQCheckBox *cbposix;
+ TQCheckBox *cbsamba;
+ TQLabel *leprigr;
+ TQPushButton *pbprigr;
- QLabel *leslstchg;
+ TQLabel *leslstchg;
KIntSpinBox *lesmin;
KIntSpinBox *lesmax;
KIntSpinBox *leswarn;
KIntSpinBox *lesinact;
KDateTimeWidget *lesexpire;
- QCheckBox *cbexpire;
+ TQCheckBox *cbexpire;
//samba specific:
KLineEdit *lerid;