summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/hiddenfileview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/hiddenfileview.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/hiddenfileview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/hiddenfileview.cpp b/filesharing/advanced/kcm_sambaconf/hiddenfileview.cpp
index b4ced9f9..041aadda 100644
--- a/filesharing/advanced/kcm_sambaconf/hiddenfileview.cpp
+++ b/filesharing/advanced/kcm_sambaconf/hiddenfileview.cpp
@@ -62,8 +62,8 @@
#define HIDDENTABINDEX 5
-HiddenListViewItem::HiddenListViewItem( TQListView *parent, KFileItem *fi, bool hidden=false, bool veto=false, bool vetoOplock=false )
- : QMultiCheckListItem( parent )
+HiddenListViewItem::HiddenListViewItem( TQListView *tqparent, KFileItem *fi, bool hidden=false, bool veto=false, bool vetoOplock=false )
+ : QMultiCheckListItem( tqparent )
{
setPixmap( COL_NAME, fi->pixmap(KIcon::SizeSmall));
@@ -91,7 +91,7 @@ KFileItem* HiddenListViewItem::getFileItem()
}
-void HiddenListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
+void HiddenListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
{
TQColorGroup _cg = cg;
@@ -101,7 +101,7 @@ void HiddenListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int col
if (isOn(COL_HIDDEN))
_cg.setColor(TQColorGroup::Text,gray);
- QMultiCheckListItem::paintCell(p, _cg, column, width, alignment);
+ QMultiCheckListItem::paintCell(p, _cg, column, width, tqalignment);
}
@@ -397,14 +397,14 @@ void HiddenFileView::checkBoxClicked(TQCheckBox* chkBox,KToggleAction* action,TQ
if (rx) {
// perhaps it is matched by a wildcard string
TQString p = rx->pattern();
- if ( p.find("*") > -1 ||
- p.find("?") > -1 )
+ if ( p.tqfind("*") > -1 ||
+ p.tqfind("?") > -1 )
{
// TODO after message freeze: why show three times the wildcard string? Once should be enough.
// TODO remove <b></b> and use <qt> instead
int result = KMessageBox::questionYesNo(_dlg,i18n(
"<b></b>Some files you have selected are matched by the wildcarded string <b>'%1'</b>; "
- "do you want to uncheck all files matching <b>'%1'</b>?").arg(rx->pattern()).arg(rx->pattern()).arg(rx->pattern()),
+ "do you want to uncheck all files matching <b>'%1'</b>?").tqarg(rx->pattern()).tqarg(rx->pattern()).tqarg(rx->pattern()),
i18n("Wildcarded String"),i18n("Uncheck Matches"),i18n("Keep Selected"));
TQPtrList<HiddenListViewItem> lst = getMatchingItems( *rx );
@@ -451,7 +451,7 @@ void HiddenFileView::vetoChkClicked(bool b)
}
/**
- * Sets the text of the TQLineEdit edit to the entries of the passed QRegExp-List
+ * Sets the text of the TQLineEdit edit to the entries of the passed TQRegExp-List
**/
void HiddenFileView::updateEdit(TQLineEdit* edit, TQPtrList<TQRegExp> & lst)
{
@@ -519,7 +519,7 @@ void HiddenFileView::updateView()
item->setOn(COL_VETO_OPLOCK,matchVetoOplock(item->text(0)));
}
- _dlg->hiddenListView->repaint();
+ _dlg->hiddenListView->tqrepaint();
}