summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/colorrequester.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor/colorrequester.cpp')
-rw-r--r--quanta/components/csseditor/colorrequester.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/components/csseditor/colorrequester.cpp b/quanta/components/csseditor/colorrequester.cpp
index d2164b06..fc4399bb 100644
--- a/quanta/components/csseditor/colorrequester.cpp
+++ b/quanta/components/csseditor/colorrequester.cpp
@@ -34,7 +34,7 @@ class colorRequester::colorRequesterPrivate{
void connectSignals( TQObject *receiver ) { connect( edit, TQT_SIGNAL( textChanged( const TQString& )),receiver, TQT_SIGNAL( textChanged( const TQString& ))); }
};
-colorRequester::colorRequester(TQWidget *parent, const char* name) : miniEditor(parent,name){
+colorRequester::colorRequester(TQWidget *tqparent, const char* name) : miniEditor(tqparent,name){
d = new colorRequesterPrivate;
init();
}
@@ -56,7 +56,7 @@ void colorRequester::init()
d->edit = new KLineEdit( this, "line edit" );
myButton = new KPushButton( this, "kfile button");
- TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("colorize"));
+ TQIconSet iconSet = SmallIconSet(TQString::tqfromLatin1("colorize"));
TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal );
myButton->setIconSet( iconSet );
myButton->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
@@ -67,12 +67,12 @@ void colorRequester::init()
TQWidget *widget = (TQWidget*) d->edit;
setFocusProxy( widget );
- d->connectSignals( this );
+ d->connectSignals( TQT_TQOBJECT(this) );
connect( myButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( openColorDialog() ));
connect( d->edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( setInitialValue(/*const TQString&*/ ) ));
KAccel *accel = new KAccel( this );
- accel->insert( KStdAccel::Open, this, TQT_SLOT( openColorDialog() ));
+ accel->insert( KStdAccel::Open, TQT_TQOBJECT(this), TQT_SLOT( openColorDialog() ));
accel->readSettings();
}
@@ -93,7 +93,7 @@ KLineEdit * colorRequester::lineEdit() const{
void colorRequester::setInitialValue(/*const TQString& s*/){
TQString temp = d->edit->text();
temp.remove(" ");
- if( temp.contains("#") != 0){
+ if( temp.tqcontains("#") != 0){
temp.remove("#");
if(temp.length() == 3) {
TQString temp2;
@@ -113,7 +113,7 @@ void colorRequester::setInitialValue(/*const TQString& s*/){
}
else
- if( temp.contains("rgb(") != 0){
+ if( temp.tqcontains("rgb(") != 0){
temp.remove("rgb(").remove(")");
TQStringList rgbValues = TQStringList::split(",",temp);
// bool ok;