diff options
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/hiddenfileview.h')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/hiddenfileview.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/hiddenfileview.h b/filesharing/advanced/kcm_sambaconf/hiddenfileview.h index ca3cb1c3..a2ec3468 100644 --- a/filesharing/advanced/kcm_sambaconf/hiddenfileview.h +++ b/filesharing/advanced/kcm_sambaconf/hiddenfileview.h @@ -43,10 +43,10 @@ class HiddenListViewItem : public QMultiCheckListItem { Q_OBJECT public: - HiddenListViewItem( QListView *parent, KFileItem *fi, bool hidden, bool veto, bool vetoOplock ); + HiddenListViewItem( TQListView *parent, KFileItem *fi, bool hidden, bool veto, bool vetoOplock ); ~HiddenListViewItem(); - virtual void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment); + virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment); KFileItem* getFileItem(); protected: @@ -89,9 +89,9 @@ protected: ShareDlgImpl* _dlg; KDirLister* _dir; - QPtrList<QRegExp> _hiddenList; - QPtrList<QRegExp> _vetoList; - QPtrList<QRegExp> _vetoOplockList; + TQPtrList<TQRegExp> _hiddenList; + TQPtrList<TQRegExp> _vetoList; + TQPtrList<TQRegExp> _vetoOplockList; KToggleAction* _hiddenActn; KToggleAction* _vetoActn; @@ -101,22 +101,22 @@ protected: void initListView(); - QPtrList<QRegExp> createRegExpList(const QString & s); - bool matchHidden(const QString & s); - bool matchVeto(const QString & s); - bool matchVetoOplock(const QString & s); - bool matchRegExpList(const QString & s, QPtrList<QRegExp> & lst); + TQPtrList<TQRegExp> createRegExpList(const TQString & s); + bool matchHidden(const TQString & s); + bool matchVeto(const TQString & s); + bool matchVetoOplock(const TQString & s); + bool matchRegExpList(const TQString & s, TQPtrList<TQRegExp> & lst); - QRegExp* getHiddenMatch(const QString & s); - QRegExp* getVetoMatch(const QString & s); - QRegExp* getRegExpListMatch(const QString & s, QPtrList<QRegExp> & lst); + TQRegExp* getHiddenMatch(const TQString & s); + TQRegExp* getVetoMatch(const TQString & s); + TQRegExp* getRegExpListMatch(const TQString & s, TQPtrList<TQRegExp> & lst); - QPtrList<HiddenListViewItem> getMatchingItems(const QRegExp & rx); + TQPtrList<HiddenListViewItem> getMatchingItems(const TQRegExp & rx); - void setState(QPtrList<HiddenListViewItem> & lst,int column, bool b); - void deselect(QPtrList<HiddenListViewItem> & lst); + void setState(TQPtrList<HiddenListViewItem> & lst,int column, bool b); + void deselect(TQPtrList<HiddenListViewItem> & lst); - void updateEdit(QLineEdit* edit, QPtrList<QRegExp> & lst); + void updateEdit(TQLineEdit* edit, TQPtrList<TQRegExp> & lst); protected slots: // slots for KDirListener : @@ -128,13 +128,13 @@ protected slots: void hiddenChkClicked(bool b); void vetoChkClicked(bool b); void vetoOplockChkClicked(bool b); - void checkBoxClicked(QCheckBox* chkBox,KToggleAction* action,QLineEdit* edit,int column,QPtrList<QRegExp> &reqExpList,bool b); + void checkBoxClicked(TQCheckBox* chkBox,KToggleAction* action,TQLineEdit* edit,int column,TQPtrList<TQRegExp> &reqExpList,bool b); void columnClicked(int column); void showContextMenu(); void updateView(); void hideDotFilesChkClicked(bool); void hideUnreadableChkClicked(bool); - void slotMouseButtonPressed( int button, QListViewItem * item, const QPoint & pos, int c ); + void slotMouseButtonPressed( int button, TQListViewItem * item, const TQPoint & pos, int c ); }; #endif |