diff options
Diffstat (limited to 'krita/core/kis_paintop_registry.cc')
-rw-r--r-- | krita/core/kis_paintop_registry.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/krita/core/kis_paintop_registry.cc b/krita/core/kis_paintop_registry.cc index 0ba7b5f3..e023e5b4 100644 --- a/krita/core/kis_paintop_registry.cc +++ b/krita/core/kis_paintop_registry.cc @@ -15,8 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <qpixmap.h> -#include <qwidget.h> +#include <tqpixmap.h> +#include <tqwidget.h> #include <kdebug.h> #include <kinstance.h> @@ -43,8 +43,8 @@ KisPaintOpRegistry::KisPaintOpRegistry() Q_ASSERT(KisPaintOpRegistry::m_singleton == 0); KisPaintOpRegistry::m_singleton = this; - KTrader::OfferList offers = KTrader::self()->query(QString::fromLatin1("Krita/Paintop"), - QString::fromLatin1("(Type == 'Service') and " + KTrader::OfferList offers = KTrader::self()->query(TQString::tqfromLatin1("Krita/Paintop"), + TQString::tqfromLatin1("(Type == 'Service') and " "([X-Krita-Version] == 2)")); KTrader::OfferList::ConstIterator iter; @@ -54,7 +54,7 @@ KisPaintOpRegistry::KisPaintOpRegistry() KService::Ptr service = *iter; int errCode = 0; KParts::Plugin* plugin = - KParts::ComponentFactory::createInstanceFromService<KParts::Plugin> ( service, this, 0, QStringList(), &errCode); + KParts::ComponentFactory::createInstanceFromService<KParts::Plugin> ( service, this, 0, TQStringList(), &errCode); if ( plugin ) kdDebug(41006) << "found plugin " << service->property("Name").toString() << "\n"; else { @@ -98,16 +98,16 @@ KisPaintOp * KisPaintOpRegistry::paintOp(const KisID & id, const KisPaintOpSetti } } -KisPaintOp * KisPaintOpRegistry::paintOp(const QString & id, const KisPaintOpSettings * settings, KisPainter * painter) const +KisPaintOp * KisPaintOpRegistry::paintOp(const TQString & id, const KisPaintOpSettings * settings, KisPainter * painter) const { return paintOp(KisID(id, ""), settings, painter); } -KisPaintOpSettings * KisPaintOpRegistry::settings(const KisID& id, QWidget * parent, const KisInputDevice& inputDevice) const +KisPaintOpSettings * KisPaintOpRegistry::settings(const KisID& id, TQWidget * tqparent, const KisInputDevice& inputDevice) const { KisPaintOpFactory* f = get(id); if (f) - return f->settings( parent, inputDevice ); + return f->settings( tqparent, inputDevice ); return 0; } @@ -124,7 +124,7 @@ bool KisPaintOpRegistry::userVisible(const KisID & id, KisColorSpace* cs) const } -QString KisPaintOpRegistry::pixmap(const KisID & id) const +TQString KisPaintOpRegistry::pixmap(const KisID & id) const { KisPaintOpFactorySP f = get(id); |