summaryrefslogtreecommitdiffstats
path: root/kpf/src/DirSelectWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/DirSelectWidget.cpp')
-rw-r--r--kpf/src/DirSelectWidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpf/src/DirSelectWidget.cpp b/kpf/src/DirSelectWidget.cpp
index a405dcb0..92b6ab0a 100644
--- a/kpf/src/DirSelectWidget.cpp
+++ b/kpf/src/DirSelectWidget.cpp
@@ -39,10 +39,10 @@ namespace KPF
DirSelectWidget::DirSelectWidget
(
const TQString & pathToMakeVisible,
- TQWidget * parent,
+ TQWidget * tqparent,
const char * name
)
- : KListView(parent, name)
+ : KListView(tqparent, name)
{
d = new Private;
d->pathToMakeVisible = pathToMakeVisible;
@@ -71,7 +71,7 @@ namespace KPF
void
DirSelectWidget::timerEvent(TQTimerEvent *)
{
- killTimers();
+ TQT_TQOBJECT(this)->killTimers();
if (0 != firstChild())
firstChild()->setOpen(true);
@@ -87,10 +87,10 @@ namespace KPF
TQDir dir(p);
- const QFileInfoList * entryInfoList =
+ const TQFileInfoList * entryInfoList =
dir.entryInfoList(TQDir::Dirs | TQDir::Readable);
- for (QFileInfoListIterator it(*entryInfoList); it.current(); ++it)
+ for (TQFileInfoListIterator it(*entryInfoList); it.current(); ++it)
{
if (it.current()->isDir() && it.current()->isReadable())
{
@@ -100,12 +100,12 @@ namespace KPF
}
}
- QString
+ TQString
DirSelectWidget::path(TQListViewItem * item) const
{
TQString ret(item->text(0));
- while (0 != (item = item->parent()))
+ while (0 != (item = item->tqparent()))
ret.prepend("/" + item->text(0));
return ret;