~ubuntu-branches/ubuntu/feisty/kid3/feisty

« back to all changes in this revision

Viewing changes to kid3/kid3.h.both

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno
  • Date: 2004-09-26 00:22:06 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040926002206-ynj1sr1mjdqnd2x5
Tags: 0.5-1
New upstream version (closes: bug#273073).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * \file kid3.h
 
2
 * \file kid3.h.both
3
3
 * Kid3 application.
4
4
 * kid3.h is generated from this file (for KDE or for Qt only) by
5
5
 * the C preprocessor.
46
46
        /**
47
47
         * Constructor.
48
48
         *
49
 
         * @param name name
 
49
         * @param parent parent widget
 
50
         * @param name   name
50
51
         */
51
52
        Kid3App(QWidget* parent=0, const char* name=0);
52
53
        /**
237
238
         * Turn status bar on or off.
238
239
         */
239
240
        void slotViewStatusBar();
 
241
        /**
 
242
         * Shortcuts configuration.
 
243
         */
 
244
        void slotSettingsShortcuts();
 
245
        /**
 
246
         * Select all files.
 
247
         */
 
248
        void slotSelectAll();
 
249
        /**
 
250
         * Select next file.
 
251
         */
 
252
        void slotNextFile();
 
253
        /**
 
254
         * Select previous file.
 
255
         */
 
256
        void slotPreviousFile();
240
257
#else
241
258
        void slotHelpHandbook(void);
242
259
        void slotHelpAbout(void);
277
294
         * Apply format.
278
295
         */
279
296
        void slotApplyFormat(void);
 
297
        /**
 
298
         * Rename directory.
 
299
         */
 
300
        void slotRenameDirectory(void);
280
301
 
281
302
private:
282
303
        /**
305
326
         * Update ID3v2 tags in GUI controls from file displayed in frame list.
306
327
         */
307
328
        void updateAfterFrameModification(void);
308
 
 
 
329
        /**
 
330
         * Check if the duration of the files corresponds to the duration of the
 
331
         * imported tracks.
 
332
         *
 
333
         * @param trackDuration list with durations of imported tracks
 
334
         * @param maxDiff       the maximum difference in seconds allowed
 
335
         *
 
336
         * @return true if ok or user agreed with import,
 
337
         *         false if user canceled import.
 
338
         */
 
339
        bool checkDuration(QValueList<int>* trackDuration,
 
340
                                           unsigned maxDiff);
 
341
        
309
342
        /** GUI with controls, created by Qt Designer */
310
343
        id3Form *view;
311
344
 
329
362
        KAction* fileQuit;
330
363
        KToggleAction* viewToolBar;
331
364
        KToggleAction* viewStatusBar;
 
365
        KAction* settingsShortcuts;
332
366
        KAction* settingsConfigure;
333
367
#else
334
368
        QSettings* config;
339
373
        QAction* fileQuit;
340
374
        QAction* fileImport;
341
375
        QAction* toolsApplyFormat;
 
376
        QAction* toolsRenameDirectory;
342
377
        QAction* settingsConfigure;
343
378
        QAction* helpHandbook;
344
379
        QAction* helpAbout;