diff options
Diffstat (limited to 'src/optionseditor.h')
-rwxr-xr-x | src/optionseditor.h | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/src/optionseditor.h b/src/optionseditor.h index d509774..87b5d50 100755 --- a/src/optionseditor.h +++ b/src/optionseditor.h @@ -17,7 +17,7 @@ class KComboBox; class KIntSpinBox; class KTextEdit; class KPushButton; -class QLabel; +class TQLabel; /** * @short The options edit dialog that can be opened through the file list's context menu @@ -27,6 +27,7 @@ class QLabel; class OptionsEditor : public KDialogBase { Q_OBJECT + TQ_OBJECT public: enum Page { OptionsPage, @@ -36,7 +37,7 @@ public: /** * Constructor */ - OptionsEditor( TagEngine*, Config*, FileList* _fileList, QWidget* parent = 0, const char* name=0, Page startPage = OptionsPage ); + OptionsEditor( TagEngine*, Config*, FileList* _fileList, TQWidget* tqparent = 0, const char* name=0, Page startPage = OptionsPage ); /** * Destructor @@ -50,59 +51,59 @@ private: Config* config; TagEngine* tagEngine; - QFrame* conversionOptions; - QFrame* tags; + TQFrame* conversionOptions; + TQFrame* tags; /** The widget, where we can set our output options */ Options* options; /** A lineedit for entering the title of track */ - QLabel* lTitleLabel; + TQLabel* lTitleLabel; KLineEdit* lTitle; KPushButton* pTitleEdit; /** A spinbox for entering or selecting the track number */ - QLabel* lNumberLabel; + TQLabel* lNumberLabel; KIntSpinBox* iNumber; KPushButton* pNumberEdit; /** A lineedit for entering the artist of a track */ - QLabel* lArtistLabel; + TQLabel* lArtistLabel; KLineEdit* lArtist; KPushButton* pArtistEdit; /** A lineedit for entering the composer of a track */ - QLabel* lComposerLabel; + TQLabel* lComposerLabel; KLineEdit* lComposer; KPushButton* pComposerEdit; /** A lineedit for entering the album name */ - QLabel* lAlbumLabel; + TQLabel* lAlbumLabel; KLineEdit* lAlbum; KPushButton* pAlbumEdit; /** A spinbox for entering or selecting the disc number */ - QLabel* lDiscLabel; + TQLabel* lDiscLabel; KIntSpinBox* iDisc; KPushButton* pDiscEdit; /** A spinbox for entering or selecting the year of the album */ - QLabel* lYearLabel; + TQLabel* lYearLabel; KIntSpinBox* iYear; KPushButton* pYearEdit; /** A combobox for entering or selecting the genre of the album */ - QLabel* lGenreLabel; + TQLabel* lGenreLabel; KComboBox* cGenre; KPushButton* pGenreEdit; /** A textedit for entering a comment for a track */ - QLabel* lCommentLabel; + TQLabel* lCommentLabel; KTextEdit* tComment; KPushButton* pCommentEdit; /** When hitting this button, the options lock (when multiple files are selected) will be deactivated */ - QLabel* lEditOptions; + TQLabel* lEditOptions; KPushButton* pEditOptions; /** When hitting this button, the tag lock (when reading tags failed) will be deactivated */ - QLabel* lEditTags; + TQLabel* lEditTags; KPushButton* pEditTags; //FileListItem* currentItem; - QValueList<FileListItem*> selectedItems; + TQValueList<FileListItem*> selectedItems; void setTagInputEnabled( bool enabled ); @@ -119,21 +120,21 @@ private slots: void editGenreClicked(); void editCommentClicked(); - void titleChanged( const QString& text ); + void titleChanged( const TQString& text ); void numberChanged( int value ); - void artistChanged( const QString& text ); - void composerChanged( const QString& text ); - void albumChanged( const QString& text ); + void artistChanged( const TQString& text ); + void composerChanged( const TQString& text ); + void albumChanged( const TQString& text ); void discChanged( int value ); void yearChanged( int value ); - void genreChanged( const QString& text ); + void genreChanged( const TQString& text ); void commentChanged(); void editOptionsClicked(); void editTagsClicked(); public slots: - void itemsSelected( QValueList<FileListItem*> ); + void itemsSelected( TQValueList<FileListItem*> ); void setPreviousEnabled( bool ); void setNextEnabled( bool ); //void moveWindow( int x, int y ); |