summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_dlg_apply_profile.cc
diff options
context:
space:
mode:
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());
}