summaryrefslogtreecommitdiffstats
path: root/src/cdopener.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 23:15:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 23:15:51 +0000
commit6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 (patch)
tree6830f75fd57d0fac7e33c097ee98b210e90c5239 /src/cdopener.h
parent6318b8bb3ef964cfa99ba454a2630779cc9ac3ec (diff)
downloadsoundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.tar.gz
soundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.zip
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
Diffstat (limited to 'src/cdopener.h')
-rwxr-xr-xsrc/cdopener.h35
1 files changed, 18 insertions, 17 deletions
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<int> selectedTracks;
- QValueList<QListViewItem*> selectedItems;
+ TQValueList<int> selectedTracks;
+ TQValueList<TQListViewItem*> 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<int> );
- void addDisc( const QString& device );
- //void openCuesheetEditor( const QString& content );
+ void addTracks( const TQString& device, TQValueList<int> );
+ void addDisc( const TQString& device );
+ //void openCuesheetEditor( const TQString& content );
};
#endif // CDOPENER_H