diff options
Diffstat (limited to 'krename/permission.h')
-rw-r--r-- | krename/permission.h | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/krename/permission.h b/krename/permission.h index 5bbf66b..9df09e2 100644 --- a/krename/permission.h +++ b/krename/permission.h @@ -30,40 +30,41 @@ #include <stdio.h> class KComboBox; -class QCheckBox; -class QGroupBox; -class QVBoxLayout; -class QHBoxLayout; -class QString; -class QWidget; +class TQCheckBox; +class TQGroupBox; +class TQVBoxLayout; +class TQHBoxLayout; +class TQString; +class TQWidget; // Plugin class starts here class MyPermPlugin: public Plugin { Q_OBJECT + TQ_OBJECT public: - const QString getName() const; - const QString getAccelName() const; + const TQString getName() const; + const TQString getAccelName() const; const int type() const; bool checkError(); - void drawInterface( QWidget* w, QVBoxLayout* l ); + void drawInterface( TQWidget* w, TQVBoxLayout* l ); void fillStructure(); - QString processFile( BatchRenamer* b, int, QString token, int ); + TQString processFile( BatchRenamer* b, int, TQString token, int ); void finished(); - const QPixmap getIcon() const; + const TQPixmap getIcon() const; private: int getPermissions(); - int getGid( QString group ); - int getUid( QString owner ); + int getGid( TQString group ); + int getUid( TQString owner ); struct pervals { bool changePermissions; bool changeOwner; - QString owner; // name of owner - QString group; // name of group + TQString owner; // name of owner + TQString group; // name of group int newPermission; // Permissions }perm; @@ -72,19 +73,19 @@ class MyPermPlugin: public Plugin { void enableControls(); protected: - QGroupBox* groupPermission; - QGroupBox* groupOwner; - QCheckBox* checkPermissions; - QCheckBox* checkOwner; - QCheckBox* permBox[3][4]; + TQGroupBox* groupPermission; + TQGroupBox* groupOwner; + TQCheckBox* checkPermissions; + TQCheckBox* checkOwner; + TQCheckBox* permBox[3][4]; KComboBox* username; KComboBox* groupname; - QVBoxLayout* groupOwnerLayout; - QVBoxLayout* Layout0; - QHBoxLayout* Layout2; - QHBoxLayout* Layout3; - QHBoxLayout* Layout4; + TQVBoxLayout* groupOwnerLayout; + TQVBoxLayout* Layout0; + TQHBoxLayout* Layout2; + TQHBoxLayout* Layout3; + TQHBoxLayout* Layout4; }; #endif |