summaryrefslogtreecommitdiffstats
path: root/styles/phase/config
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
commit1d077caf68127ab1a5518df84cc5592a1b47a965 (patch)
tree9729a338937930e9014ccbd70296f3313d6dc2cc /styles/phase/config
parent771e57c60b52ff27c4d92cddc8e6bfc0b8dafd1a (diff)
downloadtdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.tar.gz
tdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.zip
TQt4 port kdeartwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1246991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'styles/phase/config')
-rw-r--r--styles/phase/config/Makefile.am2
-rw-r--r--styles/phase/config/phasestyleconfig.cpp2
-rw-r--r--styles/phase/config/phasestyleconfig.h1
-rw-r--r--styles/phase/config/styledialog.ui8
4 files changed, 7 insertions, 6 deletions
diff --git a/styles/phase/config/Makefile.am b/styles/phase/config/Makefile.am
index 725d15a3..1c09e305 100644
--- a/styles/phase/config/Makefile.am
+++ b/styles/phase/config/Makefile.am
@@ -3,7 +3,7 @@ INCLUDES = $(all_includes)
noinst_HEADERS = phasestyleconfig.h
kde_module_LTLIBRARIES = kstyle_phase_config.la
-kstyle_phase_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+kstyle_phase_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx
kstyle_phase_config_la_LIBADD = $(LIB_KDEUI)
kstyle_phase_config_la_SOURCES = phasestyleconfig.cpp styledialog.ui
kstyle_phase_config_la_METASOURCES = AUTO
diff --git a/styles/phase/config/phasestyleconfig.cpp b/styles/phase/config/phasestyleconfig.cpp
index 4f7e200d..f6e34226 100644
--- a/styles/phase/config/phasestyleconfig.cpp
+++ b/styles/phase/config/phasestyleconfig.cpp
@@ -104,7 +104,7 @@ void PhaseStyleConfig::defaults()
extern "C"
{
KDE_EXPORT TQObject* allocate_kstyle_config(TQWidget* parent) {
- return(new PhaseStyleConfig(parent));
+ return(TQT_TQOBJECT(new PhaseStyleConfig(parent)));
}
}
diff --git a/styles/phase/config/phasestyleconfig.h b/styles/phase/config/phasestyleconfig.h
index f77c5a3a..63b3ef10 100644
--- a/styles/phase/config/phasestyleconfig.h
+++ b/styles/phase/config/phasestyleconfig.h
@@ -34,6 +34,7 @@ class KConfig;
class PhaseStyleConfig : public StyleDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
PhaseStyleConfig(TQWidget* parent);
~PhaseStyleConfig();
diff --git a/styles/phase/config/styledialog.ui b/styles/phase/config/styledialog.ui
index 2015003e..484de58a 100644
--- a/styles/phase/config/styledialog.ui
+++ b/styles/phase/config/styledialog.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>StyleDialog</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>StyleDialog</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>stylebox</cstring>
</property>
@@ -36,7 +36,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>gradients</cstring>
</property>
@@ -47,7 +47,7 @@
<string>This option will draw buttons and several other widgets using a gradient texture</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>highlights</cstring>
</property>