From 6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 1 Jul 2011 23:15:51 +0000 Subject: TQt4 port soundkonverter This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1239038 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/cdopener.h | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'src/cdopener.h') diff --git a/src/cdopener.h b/src/cdopener.h index 09e941a..2730cd0 100755 --- a/src/cdopener.h +++ b/src/cdopener.h @@ -15,8 +15,8 @@ class KLineEdit; class KComboBox; class KIntSpinBox; class KTextEdit; -class QGroupBox; -class QListViewItem; +class TQGroupBox; +class TQListViewItem; /** * @short Shows a dialog for selecting files from a CD @@ -26,6 +26,7 @@ class QListViewItem; class CDOpener : public KDialog { Q_OBJECT + TQ_OBJECT public: // enum Mode { // all_tracks, @@ -35,12 +36,12 @@ public: /** * Constructor - * @param parent The parent widget + * @param tqparent The tqparent widget * @param name The name of the file list * @p modal Sets whether the dialog is modal or not * @p f Some flags */ - CDOpener( Config*, CDManager*, TagEngine*, const QString &device, QWidget *parent = 0, const char *name = 0, /*Mode default_mode = all_tracks, const QString& default_text = "",*/ bool modal = true, WFlags f = 0 ); + CDOpener( Config*, CDManager*, TagEngine*, const TQString &device, TQWidget *tqparent = 0, const char *name = 0, /*Mode default_mode = all_tracks, const TQString& default_text = "",*/ bool modal = true, WFlags f = 0 ); /** * Destructor @@ -71,7 +72,7 @@ private: // KPushButton *pCDDB; /** The groupbox shows the selected track numbers */ - QGroupBox *tagGroupBox; + TQGroupBox *tagGroupBox; /** Set the focus of the tag editor to the track over it */ KPushButton *pTrackUp; @@ -105,22 +106,22 @@ private: TagEngine* tagEngine; Config* config; - QString device; + TQString device; - QValueList selectedTracks; - QValueList selectedItems; + TQValueList selectedTracks; + TQValueList selectedItems; - int columnByName( const QString& name ); + int columnByName( const TQString& name ); private slots: void trackChanged(); void trackUpPressed(); void trackDownPressed(); - void artistChanged( const QString& text ); - void composerChanged( const QString& text ); - void trackTitleChanged( const QString& text ); - void trackArtistChanged( const QString& text ); - void trackComposerChanged( const QString& text ); + void artistChanged( const TQString& text ); + void composerChanged( const TQString& text ); + void trackTitleChanged( const TQString& text ); + void trackArtistChanged( const TQString& text ); + void trackComposerChanged( const TQString& text ); void trackCommentChanged(); void editTrackTitleClicked(); void editTrackArtistClicked(); @@ -131,9 +132,9 @@ private slots: void saveCuesheetClicked(); signals: - void addTracks( const QString& device, QValueList ); - void addDisc( const QString& device ); - //void openCuesheetEditor( const QString& content ); + void addTracks( const TQString& device, TQValueList ); + void addDisc( const TQString& device ); + //void openCuesheetEditor( const TQString& content ); }; #endif // CDOPENER_H -- cgit v1.2.1