summaryrefslogtreecommitdiffstats
path: root/src/k3b.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /src/k3b.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
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
Diffstat (limited to 'src/k3b.h')
-rw-r--r--src/k3b.h31
1 files changed, 16 insertions, 15 deletions
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 <config.h>
#endif
-// include files for Qt
-#include <qstrlist.h>
-#include <qworkspace.h>
-#include <qptrlist.h>
+// include files for TQt
+#include <tqstrlist.h>
+#include <tqworkspace.h>
+#include <tqptrlist.h>
// include files for KDE
#include <kapplication.h>
@@ -35,7 +35,7 @@
#include <kaction.h>
#include <kurl.h>
-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<K3bDoc>& projects() const;
+ const TQPtrList<K3bDoc>& 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<KAction> m_dataProjectActions;
+ TQPtrList<KAction> m_dataProjectActions;
KDockWidget* mainDock;
KDockWidget* m_contentsDock;