diff options
Diffstat (limited to 'juk/directorylist.cpp')
-rw-r--r-- | juk/directorylist.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/juk/directorylist.cpp b/juk/directorylist.cpp index 1e53cac8..43df3dda 100644 --- a/juk/directorylist.cpp +++ b/juk/directorylist.cpp @@ -18,7 +18,7 @@ #include <klistview.h> #include <kpushbutton.h> -#include <qcheckbox.h> +#include <tqcheckbox.h> #include "directorylistbase.h" #include "directorylist.h" @@ -27,8 +27,8 @@ // public methods //////////////////////////////////////////////////////////////////////////////// -DirectoryList::DirectoryList(const QStringList &directories, bool importPlaylists, - QWidget *parent, const char *name) : +DirectoryList::DirectoryList(const TQStringList &directories, bool importPlaylists, + TQWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("Folder List"), Ok | Cancel, Ok, true), m_dirList(directories), m_importPlaylists(importPlaylists) @@ -39,18 +39,18 @@ DirectoryList::DirectoryList(const QStringList &directories, bool importPlaylist m_base->directoryListView->setFullWidth(true); - connect(m_base->addDirectoryButton, SIGNAL(clicked()), - SLOT(slotAddDirectory())); - connect(m_base->removeDirectoryButton, SIGNAL(clicked()), - SLOT(slotRemoveDirectory())); + connect(m_base->addDirectoryButton, TQT_SIGNAL(clicked()), + TQT_SLOT(slotAddDirectory())); + connect(m_base->removeDirectoryButton, TQT_SIGNAL(clicked()), + TQT_SLOT(slotRemoveDirectory())); - QStringList::ConstIterator it = directories.begin(); + TQStringList::ConstIterator it = directories.begin(); for(; it != directories.end(); ++it) new KListViewItem(m_base->directoryListView, *it); m_base->importPlaylistsCheckBox->setChecked(importPlaylists); - QSize sz = sizeHint(); + TQSize sz = sizeHint(); setMinimumSize(kMax(350, sz.width()), kMax(250, sz.height())); resize(sizeHint()); } @@ -77,7 +77,7 @@ DirectoryList::Result DirectoryList::exec() void DirectoryList::slotAddDirectory() { - QString dir = KFileDialog::getExistingDirectory(); + TQString dir = KFileDialog::getExistingDirectory(); if(!dir.isEmpty() && m_dirList.find(dir) == m_dirList.end()) { m_dirList.append(dir); new KListViewItem(m_base->directoryListView, dir); @@ -90,7 +90,7 @@ void DirectoryList::slotRemoveDirectory() if(!m_base->directoryListView->selectedItem()) return; - QString dir = m_base->directoryListView->selectedItem()->text(0); + TQString dir = m_base->directoryListView->selectedItem()->text(0); m_dirList.remove(dir); m_result.removedDirs.append(dir); delete m_base->directoryListView->selectedItem(); |