summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/hiddenfileview.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 /filesharing/advanced/kcm_sambaconf/hiddenfileview.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 'filesharing/advanced/kcm_sambaconf/hiddenfileview.h')
-rw-r--r--filesharing/advanced/kcm_sambaconf/hiddenfileview.h38
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