summaryrefslogtreecommitdiffstats
path: root/src/k3bsystemproblemdialog.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/k3bsystemproblemdialog.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/k3bsystemproblemdialog.h')
-rw-r--r--src/k3bsystemproblemdialog.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/k3bsystemproblemdialog.h b/src/k3bsystemproblemdialog.h
index ad3e1c3..f884d2a 100644
--- a/src/k3bsystemproblemdialog.h
+++ b/src/k3bsystemproblemdialog.h
@@ -17,14 +17,14 @@
#ifndef _K3B_SYSTEM_DIALOG_H_
#define _K3B_SYSTEM_DIALOG_H_
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
#include <kdialog.h>
-class QPushButton;
-class QCheckBox;
-class QCloseEvent;
+class TQPushButton;
+class TQCheckBox;
+class TQCloseEvent;
namespace K3bDevice {
class Device;
}
@@ -34,9 +34,9 @@ class K3bSystemProblem
{
public:
K3bSystemProblem( int type = NON_CRITICAL,
- const QString& problem = QString::null,
- const QString& details = QString::null,
- const QString& solution = QString::null,
+ const TQString& problem = TQString(),
+ const TQString& details = TQString(),
+ const TQString& solution = TQString(),
bool k3bsetup = false );
enum {
@@ -46,9 +46,9 @@ class K3bSystemProblem
};
int type;
- QString problem;
- QString details;
- QString solution;
+ TQString problem;
+ TQString details;
+ TQString solution;
bool solvableByK3bSetup;
};
@@ -68,6 +68,7 @@ class K3bSystemProblem
class K3bSystemProblemDialog : public KDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -77,25 +78,25 @@ class K3bSystemProblemDialog : public KDialog
* or K3b is started for the first time.
*/
static bool readCheckSystemConfig();
- static void checkSystem( QWidget* parent = 0,
+ static void checkSystem( TQWidget* tqparent = 0,
const char* name = 0 );
protected:
- void closeEvent( QCloseEvent* );
+ void closeEvent( TQCloseEvent* );
private slots:
void slotK3bSetup();
private:
- K3bSystemProblemDialog( const QValueList<K3bSystemProblem>&,
- QWidget* parent = 0,
+ K3bSystemProblemDialog( const TQValueList<K3bSystemProblem>&,
+ TQWidget* tqparent = 0,
const char* name = 0 );
static int dmaActivated( K3bDevice::Device* );
- static QPtrList<K3bDevice::Device> checkForAutomounting();
+ static TQPtrList<K3bDevice::Device> checkForAutomounting();
- QPushButton* m_closeButton;
- QPushButton* m_k3bsetupButton;
- QCheckBox* m_checkDontShowAgain;
+ TQPushButton* m_closeButton;
+ TQPushButton* m_k3bsetupButton;
+ TQCheckBox* m_checkDontShowAgain;
};
#endif