Ignore:
Timestamp:
Dec 27, 2011, 5:44:12 PM (14 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: latest svn update

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/prefplaylist.cpp

    r112 r119  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org>
     2    Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    7474}
    7575
     76void PrefPlaylist::setDirectoryRecursion(bool b) {
     77        recursive_check->setChecked(b);
     78}
     79
     80bool PrefPlaylist::directoryRecursion() {
     81        return recursive_check->isChecked();
     82}
     83
     84void PrefPlaylist::setAutoGetInfo(bool b) {
     85        getinfo_check->setChecked(b);
     86}
     87
     88bool PrefPlaylist::autoGetInfo() {
     89        return getinfo_check->isChecked();
     90}
     91
     92void PrefPlaylist::setSavePlaylistOnExit(bool b) {
     93        autosave_on_exit_check->setChecked(b);
     94}
     95
     96bool PrefPlaylist::savePlaylistOnExit() {
     97        return autosave_on_exit_check->isChecked();
     98}
     99
     100void PrefPlaylist::setPlayFilesFromStart(bool b) {
     101        play_from_start_check->setChecked(b);
     102}
     103
     104bool PrefPlaylist::playFilesFromStart() {
     105        return play_from_start_check->isChecked();
     106}
    76107
    77108void PrefPlaylist::createHelp() {
     
    88119           "files (e.g. video_1.avi, video_2.avi...) and if found, they'll be "
    89120           "added to the playlist.") );
     121
     122        setWhatsThis(recursive_check, tr("Add files in directories recursively"),
     123                tr("Check this option if you want that adding a directory will also "
     124        "add the files in subdirectories recursively. Otherwise only the "
     125        "files in the selected directory will be added."));
     126
     127        setWhatsThis(getinfo_check, tr("Add info automatically about files added"),
     128                tr("Check this option to inquire the files to be added to the playlist "
     129        "for some info. That allows to show the title name (if available) and "
     130        "length of the files. Otherwise this info won't be available until "
     131        "the file is actually played. Beware: this option can be slow, "
     132        "specially if you add many files."));
     133
    90134}
    91135
Note: See TracChangeset for help on using the changeset viewer.