summaryrefslogtreecommitdiffstats
path: root/kuser/propdlg.h
diff options
context:
space:
mode:
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;