From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: TQt4 port k3b This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/k3b.h | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'src/k3b.h') diff --git a/src/k3b.h b/src/k3b.h index 37532b0..1562e57 100644 --- a/src/k3b.h +++ b/src/k3b.h @@ -23,10 +23,10 @@ #include #endif -// include files for Qt -#include -#include -#include +// include files for TQt +#include +#include +#include // include files for KDE #include @@ -35,7 +35,7 @@ #include #include -class QVBox; +class TQVBox; // forward declaration of the K3b classes @@ -62,6 +62,7 @@ namespace K3bDevice { class K3bMainWindow : public KParts::DockMainWindow { Q_OBJECT + TQ_OBJECT public: /** construtor of K3bMainWindow, calls all init functions to create the application. @@ -87,7 +88,7 @@ class K3bMainWindow : public KParts::DockMainWindow */ K3bDoc* activeDoc() const; - const QPtrList& projects() const; + const TQPtrList& projects() const; bool eject(); void showOptionDialog( int = 0 ); @@ -133,8 +134,8 @@ class K3bMainWindow : public KParts::DockMainWindow void slotVideoCdRip(); void slotK3bSetup(); - void slotErrorMessage(const QString&); - void slotWarningMessage(const QString&); + void slotErrorMessage(const TQString&); + void slotWarningMessage(const TQString&); void slotConfigureKeys(); void slotShowTips(); @@ -143,7 +144,7 @@ class K3bMainWindow : public KParts::DockMainWindow void addUrls( const KURL::List& urls ); signals: - void initializationInfo( const QString& ); + void initializationInfo( const TQString& ); void configChanged( KConfig* c ); protected: @@ -181,7 +182,7 @@ class K3bMainWindow : public KParts::DockMainWindow */ bool canCloseDocument( K3bDoc* ); - virtual void showEvent( QShowEvent* e ); + virtual void showEvent( TQShowEvent* e ); private slots: /** open a file and load it into the document*/ @@ -214,12 +215,12 @@ class K3bMainWindow : public KParts::DockMainWindow void slotViewDocumentHeader(); - void slotCheckDockWidgetStatus(); + void slotCheckDockWidgettqStatus(); /** changes the statusbar contents for the standard label permanently, used to indicate current actions. * @param text the text that is displayed in the statusbar */ - void slotStatusMsg(const QString &text); + void slotStatusMsg(const TQString &text); void slotShowDirTreeView(); void slotShowContentsView(); @@ -234,7 +235,7 @@ class K3bMainWindow : public KParts::DockMainWindow void slotDataClearImportedSession(); void slotEditBootImages(); - void slotAudioServerError( const QString& error ); + void slotAudioServerError( const TQString& error ); void createClient(K3bDoc* doc); @@ -248,7 +249,7 @@ class K3bMainWindow : public KParts::DockMainWindow void fileSaveAs( K3bDoc* doc = 0 ); void closeProject( K3bDoc* ); - /** save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration + /** save general Options like all bar positions and status as well as the tqgeometry and the recent file list to the configuration * file */ void saveOptions(); @@ -304,7 +305,7 @@ class K3bMainWindow : public KParts::DockMainWindow KToggleAction* actionViewDocumentHeader; // project actions - QPtrList m_dataProjectActions; + TQPtrList m_dataProjectActions; KDockWidget* mainDock; KDockWidget* m_contentsDock; -- cgit v1.2.3