~ubuntu-branches/ubuntu/dapper/lmms/dapper

« back to all changes in this revision

Viewing changes to include/export_project_dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ragwitz
  • Date: 2005-12-22 16:22:50 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051222162250-key3p7x0212jy6dn
Tags: 0.1.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * export_project_dialog.h - declaration of class exportProjectDialog which is
3
3
 *                           responsible for exporting project
4
4
 *
5
 
 * Linux MultiMedia Studio
6
 
 * Copyright (c) 2004-2005 Tobias Doerffel <tobydox@users.sourceforge.net>
 
5
 * Copyright (c) 2004-2005 Tobias Doerffel <tobydox/at/users.sourceforge.net>
 
6
 * 
 
7
 * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
7
8
 *
8
9
 * This program is free software; you can redistribute it and/or
9
10
 * modify it under the terms of the GNU General Public
61
62
public:
62
63
        exportProjectDialog( const QString & _file_name, QWidget * _parent );
63
64
        ~exportProjectDialog();
64
 
        void FASTCALL updateProgressBar( int _new_val );
65
65
 
66
66
 
67
67
public slots:
76
76
private slots:
77
77
        void changedType( const QString & );
78
78
        void cancelBtnClicked( void );
79
 
        void redrawProgressBar( void );
80
79
 
81
80
 
82
81
private:
 
82
        void finishProjectExport( void );
 
83
        void abortProjectExport( void );
 
84
 
 
85
        static fileTypes FASTCALL getFileTypeFromExtension( const QString &
 
86
                                                                        _ext );
 
87
        static Sint16 s_availableBitrates[];
 
88
 
83
89
        QString m_fileName;
84
90
        QLabel * m_typeLbl;
85
91
        QComboBox * m_typeCombo;
91
97
        QPushButton * m_exportBtn;
92
98
        QPushButton * m_cancelBtn;
93
99
        QProgressBar * m_exportProgressBar;
 
100
 
94
101
        fileTypes m_fileType;
95
102
        bool m_deleteFile;
96
 
        int m_oldProgressVal;
97
 
        int m_progressVal;
98
 
 
99
 
        QTimer * m_progressBarUpdateTimer;
100
 
 
101
 
        static Sint16 s_availableBitrates[];
102
 
 
103
 
        void finishProjectExport( void );
104
 
        void abortProjectExport( void );
105
 
 
106
 
        static fileTypes FASTCALL getFileTypeFromExtension( const QString &
107
 
                                                                        _ext );
108
103
 
109
104
} ;
110
105