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 3752ec06..7a0eb6a2 100644 --- a/juk/mediafiles.cpp +++ b/juk/mediafiles.cpp @@ -45,9 +45,9 @@ namespace MediaFiles { static const char playlistExtension[] = ".m3u"; } -TQStringList MediaFiles::openDialog(TQWidget *parent) +TQStringList MediaFiles::openDialog(TQWidget *tqparent) { - KFileDialog dialog(TQString::null, TQString::null, parent, "filedialog", true); + KFileDialog dialog(TQString(), TQString(), tqparent, "filedialog", true); dialog.setOperationMode(KFileDialog::Opening); dialog.setCaption(i18n("Open")); @@ -60,11 +60,11 @@ TQStringList MediaFiles::openDialog(TQWidget *parent) return convertURLsToLocal(dialog.selectedFiles()); } -TQString MediaFiles::savePlaylistDialog(const TQString &playlistName, TQWidget *parent) +TQString MediaFiles::savePlaylistDialog(const TQString &playlistName, TQWidget *tqparent) { TQString fileName = KFileDialog::getSaveFileName(playlistName + playlistExtension, TQString("*").append(playlistExtension), - parent, + tqparent, i18n("Playlists")); if(!fileName.isEmpty() && !fileName.endsWith(playlistExtension)) fileName.append(playlistExtension); |