~ubuntu-branches/debian/experimental/audex/experimental

« back to all changes in this revision

Viewing changes to core/audex.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-04-14 18:14:34 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130414181434-0dgmtvjvi31wgikh
Tags: 0.77~b1-1
* New Upstream Release
* Updated debian/watch from Bart Martens
  - Fixes "[audex] now hosted at kde svn" (Closes: #555406)
* Add myself to Uploaders:
* Ack NMU. Thanks Matthias & Romain
* debian/compat -> 9
* Fix "encoding dependencies" Added Suggests:  (Closes: #696941)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* AUDEX CDDA EXTRACTOR
2
 
 * Copyright (C) 2007-2011 Marco Nelles (audex@maniatek.com)
 
2
 * Copyright (C) 2007-2013 Marco Nelles (audex@maniatek.com)
3
3
 * <http://kde.maniatek.com/audex>
4
4
 *
5
5
 * This program is free software: you can redistribute it and/or modify
119
119
 
120
120
public:
121
121
  Audex(QWidget* parent,
122
 
        ProfileModel *profile_model,
123
 
        CDDAModel *cdda_model);
 
122
        ProfileModel *profile_model,
 
123
        CDDAModel *cdda_model);
124
124
  ~Audex();
125
125
 
126
126
  bool prepare();
177
177
  void timeout();
178
178
 
179
179
  void error(const QString& message,
180
 
        const QString& details = QString());
 
180
        const QString& details = QString());
181
181
  void warning(const QString& message);
182
182
  void info(const QString& message);
183
183
 
196
196
  bool p_single_file;
197
197
 
198
198
  bool construct_target_filename(QString& targetFilename,
199
 
        int trackno, int cdno, int gindex,
200
 
        const QString& artist, const QString& title,
201
 
        const QString& tartist, const QString& ttitle,
202
 
        const QString& date, const QString& genre,
203
 
        const QString& ext, const QString& basepath,
204
 
        bool fat_compatible, bool replacespaceswithunderscores,
 
199
        int trackno, int cdno, int nooftracks, int gindex,
 
200
        const QString& artist, const QString& title,
 
201
        const QString& tartist, const QString& ttitle,
 
202
        const QString& date, const QString& genre,
 
203
        const QString& ext, const QString& basepath,
 
204
        bool fat_compatible, bool replacespaceswithunderscores,
205
205
        bool _2digitstracknum,
206
 
        bool overwrite_existing_files, bool is_first_track);
207
 
        
 
206
        bool overwrite_existing_files, bool is_first_track);
 
207
        
208
208
  bool construct_target_filename_for_singlefile(QString& targetFilename,
209
 
        int cdno,
210
 
        const QString& artist, const QString& title,
211
 
        const QString& date, const QString& genre,
212
 
        const QString& ext, const QString& basepath,
213
 
        bool overwrite_existing_files);
 
209
        int cdno, int nooftracks,
 
210
        const QString& artist, const QString& title,
 
211
        const QString& date, const QString& genre,
 
212
        const QString& ext, const QString& basepath,
 
213
        bool overwrite_existing_files);
214
214
 
215
215
  bool check();
216
216
 
217
217
  QString tmp_path;
218
218
  QString target_dir;
219
 
  QStringList target_filename_list;
220
219
 
221
220
  bool _finished;
222
221
  bool _finished_successful;
246
245
  int current_encoder_percent;
247
246
  int last_measuring_point_encoder_percent;
248
247
 
249
 
  qreal size_of_all_files_in_list(const QStringList& filenames) const;
 
248
  bool p_prepare_dir(QString& filename, const QString& targetDirIfRelative, const bool overwrite = FALSE);
 
249
  bool p_mkdir(const QString& absoluteFilePath);
 
250
  qreal p_size_of_all_files(const QStringList& filenames) const;
250
251
  
251
252
};
252
253