summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_dlg_apply_profile.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/ui/kis_dlg_apply_profile.cc
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krita/ui/kis_dlg_apply_profile.cc')
-rw-r--r--krita/ui/kis_dlg_apply_profile.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/krita/ui/kis_dlg_apply_profile.cc b/krita/ui/kis_dlg_apply_profile.cc
index 5240a47d..12134aa0 100644
--- a/krita/ui/kis_dlg_apply_profile.cc
+++ b/krita/ui/kis_dlg_apply_profile.cc
@@ -16,9 +16,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qcombobox.h>
+#include <tqcombobox.h>
#include <klocale.h>
-#include <qbuttongroup.h>
+#include <tqbuttongroup.h>
#include "kis_factory.h"
#include "kis_colorspace_factory_registry.h"
@@ -34,15 +34,15 @@
#include "wdgapplyprofile.h"
// XXX: Hardcode RGBA name. This should be a constant, somewhere.
-KisDlgApplyProfile::KisDlgApplyProfile(QWidget *parent, const char *name)
- : super(parent, name, true, "", Ok | Cancel)
+KisDlgApplyProfile::KisDlgApplyProfile(TQWidget *tqparent, const char *name)
+ : super(tqparent, name, true, "", Ok | Cancel)
{
setCaption(i18n("Apply Image Profile to Clipboard Data"));
m_page = new WdgApplyProfile(this);
setMainWidget(m_page);
- resize(m_page->sizeHint());
+ resize(m_page->tqsizeHint());
// XXX: This is BAD! (bsar)
fillCmbProfiles(KisID("RGBA", ""));
@@ -59,7 +59,7 @@ KisDlgApplyProfile::~KisDlgApplyProfile()
KisProfile * KisDlgApplyProfile::profile() const
{
- QString profileName;
+ TQString profileName;
profileName = m_page->cmbProfile->currentText();
@@ -84,8 +84,8 @@ void KisDlgApplyProfile::fillCmbProfiles(const KisID & s)
KisColorSpaceFactory * csf = KisMetaRegistry::instance()->csRegistry()->get(s);
if (csf == 0) return;
- QValueVector<KisProfile *> profileList = KisMetaRegistry::instance()->csRegistry()->profilesFor( csf );
- QValueVector<KisProfile *> ::iterator it;
+ TQValueVector<KisProfile *> profileList = KisMetaRegistry::instance()->csRegistry()->profilesFor( csf );
+ TQValueVector<KisProfile *> ::iterator it;
for ( it = profileList.begin(); it != profileList.end(); ++it ) {
m_page->cmbProfile->insertItem((*it)->productName());
}