diff options
Diffstat (limited to 'juk/mediafiles.cpp')
-rw-r--r-- | juk/mediafiles.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/juk/mediafiles.cpp b/juk/mediafiles.cpp index 7a0eb6a2..8ed0d859 100644 --- a/juk/mediafiles.cpp +++ b/juk/mediafiles.cpp @@ -45,9 +45,9 @@ namespace MediaFiles { static const char playlistExtension[] = ".m3u"; } -TQStringList MediaFiles::openDialog(TQWidget *tqparent) +TQStringList MediaFiles::openDialog(TQWidget *parent) { - KFileDialog dialog(TQString(), TQString(), tqparent, "filedialog", true); + KFileDialog dialog(TQString(), TQString(), parent, "filedialog", true); dialog.setOperationMode(KFileDialog::Opening); dialog.setCaption(i18n("Open")); @@ -60,11 +60,11 @@ TQStringList MediaFiles::openDialog(TQWidget *tqparent) return convertURLsToLocal(dialog.selectedFiles()); } -TQString MediaFiles::savePlaylistDialog(const TQString &playlistName, TQWidget *tqparent) +TQString MediaFiles::savePlaylistDialog(const TQString &playlistName, TQWidget *parent) { TQString fileName = KFileDialog::getSaveFileName(playlistName + playlistExtension, TQString("*").append(playlistExtension), - tqparent, + parent, i18n("Playlists")); if(!fileName.isEmpty() && !fileName.endsWith(playlistExtension)) fileName.append(playlistExtension); |