summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/projectprefwidgets.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kbabel/commonui/projectprefwidgets.h
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/commonui/projectprefwidgets.h')
-rw-r--r--kbabel/commonui/projectprefwidgets.h49
1 files changed, 29 insertions, 20 deletions
diff --git a/kbabel/commonui/projectprefwidgets.h b/kbabel/commonui/projectprefwidgets.h
index ea5b9d30..f5fef9e2 100644
--- a/kbabel/commonui/projectprefwidgets.h
+++ b/kbabel/commonui/projectprefwidgets.h
@@ -22,11 +22,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -65,8 +65,9 @@ struct ModuleInfo;
class KDE_EXPORT SavePreferences : public KTabCtl
{
Q_OBJECT
+ TQ_OBJECT
public:
- SavePreferences(TQWidget* parent=0);
+ SavePreferences(TQWidget* tqparent=0);
void defaults(const KBabel::SaveSettings& settings);
void setAutoSaveVisible(const bool on);
@@ -108,11 +109,12 @@ private slots:
};
-class IdentityPreferences : public QWidget
+class IdentityPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- IdentityPreferences(TQWidget *parent = 0, const TQString& project = "");
+ IdentityPreferences(TQWidget *tqparent = 0, const TQString& project = "");
virtual bool eventFilter(TQObject *, TQEvent*);
void defaults(const KBabel::IdentitySettings& settings);
@@ -138,11 +140,12 @@ private:
};
-class MiscPreferences : public QWidget
+class MiscPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- MiscPreferences(TQWidget *parent=0);
+ MiscPreferences(TQWidget *tqparent=0);
void defaults(const KBabel::MiscSettings& settings);
private slots:
@@ -163,11 +166,12 @@ private:
TQCheckBox* compressSingle;
};
-class SpellPreferences : public QWidget
+class SpellPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- SpellPreferences(TQWidget *parent=0);
+ SpellPreferences(TQWidget *tqparent=0);
void mergeSettings(KBabel::SpellcheckSettings& set) const;
void updateWidgets(const KBabel::SpellcheckSettings& settings);
@@ -184,11 +188,12 @@ private:
};
-class CatmanPreferences : public QWidget
+class CatmanPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- CatmanPreferences(TQWidget *parent = 0);
+ CatmanPreferences(TQWidget *tqparent = 0);
void defaults(const KBabel::CatManSettings& settings);
private:
@@ -202,11 +207,12 @@ private:
TQCheckBox* m_msgfmtButton;
};
-class DirCommandsPreferences : public QWidget
+class DirCommandsPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- DirCommandsPreferences(TQWidget *parent = 0);
+ DirCommandsPreferences(TQWidget *tqparent = 0);
virtual ~DirCommandsPreferences();
void mergeSettings(KBabel::CatManSettings& settings) const;
@@ -220,11 +226,12 @@ private:
CmdEdit* _dirCmdEdit;
};
-class FileCommandsPreferences : public QWidget
+class FileCommandsPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- FileCommandsPreferences(TQWidget *parent = 0);
+ FileCommandsPreferences(TQWidget *tqparent = 0);
virtual ~FileCommandsPreferences();
void mergeSettings(KBabel::CatManSettings& settings) const;
@@ -238,11 +245,12 @@ private:
CmdEdit* _fileCmdEdit;
};
-class ViewPreferences : public QWidget
+class ViewPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- ViewPreferences(TQWidget *parent = 0);
+ ViewPreferences(TQWidget *tqparent = 0);
void defaults(const KBabel::CatManSettings& settings);
private:
@@ -261,11 +269,12 @@ private:
* @short Class for setting preferences for source context
* @author Stanislav Visnovsky <visnovsky@kde.org>
*/
-class SourceContextPreferences : public QWidget
+class SourceContextPreferences : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- SourceContextPreferences(TQWidget* parent=0);
+ SourceContextPreferences(TQWidget* tqparent=0);
virtual ~SourceContextPreferences();
void mergeSettings(KBabel::SourceContextSettings& settings) const;