summaryrefslogtreecommitdiffstats
path: root/juk/directorylist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/directorylist.cpp')
-rw-r--r--juk/directorylist.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/juk/directorylist.cpp b/juk/directorylist.cpp
index 43df3dda..23532370 100644
--- a/juk/directorylist.cpp
+++ b/juk/directorylist.cpp
@@ -28,8 +28,8 @@
////////////////////////////////////////////////////////////////////////////////
DirectoryList::DirectoryList(const TQStringList &directories, bool importPlaylists,
- TQWidget *parent, const char *name) :
- KDialogBase(parent, name, true, i18n("Folder List"), Ok | Cancel, Ok, true),
+ TQWidget *tqparent, const char *name) :
+ KDialogBase(tqparent, name, true, i18n("Folder List"), Ok | Cancel, Ok, true),
m_dirList(directories),
m_importPlaylists(importPlaylists)
{
@@ -50,9 +50,9 @@ DirectoryList::DirectoryList(const TQStringList &directories, bool importPlaylis
m_base->importPlaylistsCheckBox->setChecked(importPlaylists);
- TQSize sz = sizeHint();
+ TQSize sz = tqsizeHint();
setMinimumSize(kMax(350, sz.width()), kMax(250, sz.height()));
- resize(sizeHint());
+ resize(tqsizeHint());
}
DirectoryList::~DirectoryList()
@@ -78,7 +78,7 @@ DirectoryList::Result DirectoryList::exec()
void DirectoryList::slotAddDirectory()
{
TQString dir = KFileDialog::getExistingDirectory();
- if(!dir.isEmpty() && m_dirList.find(dir) == m_dirList.end()) {
+ if(!dir.isEmpty() && m_dirList.tqfind(dir) == m_dirList.end()) {
m_dirList.append(dir);
new KListViewItem(m_base->directoryListView, dir);
m_result.addedDirs.append(dir);