From 0d59c780513da78033f4d9040475dee9db0256d4 Mon Sep 17 00:00:00 2001 From: alwin Date: Tue, 02 Mar 2004 12:14:15 +0000 Subject: run the optimize_connect script the whole cvs is tagged with "before_optimize_connect" if there are problems you can check the diff (but it had compiled and run here) --- (limited to 'inputmethods') diff --git a/inputmethods/handwriting/qimpenhelp.cpp b/inputmethods/handwriting/qimpenhelp.cpp index a294301..0727931 100644 --- a/inputmethods/handwriting/qimpenhelp.cpp +++ b/inputmethods/handwriting/qimpenhelp.cpp @@ -163,8 +163,8 @@ HandwritingTrainer::HandwritingTrainer( QIMPenProfile *p, QWidget *parent, const matcher = new QIMPenMatch( this ); matcher->setCharSet( currentSet ); connect( matcher, SIGNAL(noMatch()), this, SLOT(noMatch()) ); - connect( matcher, SIGNAL(matchedCharacters(const QIMPenCharMatchList &)), - this, SLOT(matched(const QIMPenCharMatchList &)) ); + connect( matcher, SIGNAL(matchedCharacters(const QIMPenCharMatchList&)), + this, SLOT(matched(const QIMPenCharMatchList&)) ); QHBoxLayout *hb = new QHBoxLayout(); gl->addLayout( hb, 2, 0 ); @@ -186,12 +186,12 @@ HandwritingTrainer::HandwritingTrainer( QIMPenProfile *p, QWidget *parent, const connect( matcher, SIGNAL(removeStroke()), pracPw, SLOT(removeStroke()) ); connect( pracPw, SIGNAL(beginStroke()), this, SLOT(beginStroke()) ); - connect( pracPw, SIGNAL(stroke( QIMPenStroke * )), - this, SLOT(strokeEntered( QIMPenStroke * )) ); + connect( pracPw, SIGNAL(stroke(QIMPenStroke*)), + this, SLOT(strokeEntered(QIMPenStroke*)) ); connect( pracPw, SIGNAL(beginStroke()), matcher, SLOT(beginStroke()) ); - connect( pracPw, SIGNAL(stroke( QIMPenStroke * )), - matcher, SLOT(strokeEntered( QIMPenStroke * )) ); + connect( pracPw, SIGNAL(stroke(QIMPenStroke*)), + matcher, SLOT(strokeEntered(QIMPenStroke*)) ); gl->addWidget( pracPw, 3, 1 ); redrawTimer = new QTimer( this ); diff --git a/inputmethods/handwriting/qimpeninput.cpp b/inputmethods/handwriting/qimpeninput.cpp index db33c9b..d073cdf 100644 --- a/inputmethods/handwriting/qimpeninput.cpp +++ b/inputmethods/handwriting/qimpeninput.cpp @@ -149,10 +149,10 @@ QIMPenInput::QIMPenInput( QWidget *parent, const char *name, WFlags wf ) gl->setColStretch( 0, 1 ); wordPicker = new QIMPenWordPick( this ); - connect( wordPicker, SIGNAL(wordClicked(const QString &)), - this, SLOT(wordPicked(const QString &)) ); - connect( matcher, SIGNAL(matchedCharacters(const QIMPenCharMatchList &)), - this, SLOT(matchedCharacters(const QIMPenCharMatchList &)) ); + connect( wordPicker, SIGNAL(wordClicked(const QString&)), + this, SLOT(wordPicked(const QString&)) ); + connect( matcher, SIGNAL(matchedCharacters(const QIMPenCharMatchList&)), + this, SLOT(matchedCharacters(const QIMPenCharMatchList&)) ); connect( matcher, SIGNAL(matchedWords(const QIMPenMatch::MatchWordList&)), wordPicker, SLOT(setWords(const QIMPenMatch::MatchWordList&)) ); QFont f("smallsmooth",9); @@ -200,16 +200,16 @@ QIMPenInput::QIMPenInput( QWidget *parent, const char *name, WFlags wf ) connect( setupBtn, SIGNAL(clicked()), SLOT(setup())); connect( matcher, SIGNAL(removeStroke()), pw, SLOT(removeStroke()) ); - connect( pw, SIGNAL(changeCharSet( QIMPenCharSet * )), - matcher, SLOT(setCharSet( QIMPenCharSet * )) ); - connect( pw, SIGNAL(changeCharSet( int )), - this, SLOT(selectCharSet( int )) ); + connect( pw, SIGNAL(changeCharSet(QIMPenCharSet*)), + matcher, SLOT(setCharSet(QIMPenCharSet*)) ); + connect( pw, SIGNAL(changeCharSet(int)), + this, SLOT(selectCharSet(int)) ); connect( pw, SIGNAL(beginStroke()), matcher, SLOT(beginStroke()) ); - connect( pw, SIGNAL(stroke( QIMPenStroke * )), - this, SLOT(strokeEntered( QIMPenStroke * )) ); - connect( pw, SIGNAL(stroke( QIMPenStroke * )), - matcher, SLOT(strokeEntered( QIMPenStroke * )) ); + connect( pw, SIGNAL(stroke(QIMPenStroke*)), + this, SLOT(strokeEntered(QIMPenStroke*)) ); + connect( pw, SIGNAL(stroke(QIMPenStroke*)), + matcher, SLOT(strokeEntered(QIMPenStroke*)) ); shortcutCharSet = 0; currCharSet = 0; diff --git a/inputmethods/handwriting/qimpensetup.cpp b/inputmethods/handwriting/qimpensetup.cpp index d0f9ffd..d1297a9 100644 --- a/inputmethods/handwriting/qimpensetup.cpp +++ b/inputmethods/handwriting/qimpensetup.cpp @@ -101,8 +101,8 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, QLabel *l = new QLabel( tr("Character Profile:"), this ); hb->addWidget( l ); profileCombo = new QComboBox( this ); - connect( profileCombo, SIGNAL(activated(const QString &)), - this, SLOT(selectProfile(const QString &)) ); + connect( profileCombo, SIGNAL(activated(const QString&)), + this, SLOT(selectProfile(const QString&)) ); hb->addWidget( profileCombo ); #else profileList.append( profile ); @@ -247,8 +247,8 @@ QIMPenInputCharDlg::QIMPenInputCharDlg( QWidget *parent, const char *name, QComboBox *cb = new QComboBox( TRUE, this ); connect( cb, SIGNAL(activated(int)), SLOT(setSpecial(int)) ); - connect( cb, SIGNAL(textChanged(const QString &)), - SLOT(setCharacter(const QString &)) ); + connect( cb, SIGNAL(textChanged(const QString&)), + SLOT(setCharacter(const QString&)) ); addSpecial( cb ); cb->setEditText( "" ); hb->addWidget( cb ); @@ -340,8 +340,8 @@ QIMPenEdit::QIMPenEdit( QIMPenProfile *p, QWidget *parent, pw = new QIMPenWidget( this ); pw->setFixedHeight( 75 ); gl->addMultiCellWidget( pw, 2, 3, 0, 0 ); - connect( pw, SIGNAL(stroke(QIMPenStroke *)), - SLOT(newStroke(QIMPenStroke *)) ); + connect( pw, SIGNAL(stroke(QIMPenStroke*)), + SLOT(newStroke(QIMPenStroke*)) ); QVBoxLayout *vb = new QVBoxLayout(); gl->addLayout( vb, 1, 1 ); diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp index aec0ad3..4f4f25f 100644 --- a/inputmethods/multikey/keyboard.cpp +++ b/inputmethods/multikey/keyboard.cpp @@ -95,8 +95,8 @@ Keyboard::Keyboard(QWidget* parent, const char* _name, WFlags f) : connect( repeatTimer, SIGNAL(timeout()), this, SLOT(repeat()) ); QCopChannel* kbdChannel = new QCopChannel("MultiKey/Keyboard", this); - connect(kbdChannel, SIGNAL(received(const QCString &, const QByteArray &)), - this, SLOT(receive(const QCString &, const QByteArray &))); + connect(kbdChannel, SIGNAL(received(const QCString&,const QByteArray&)), + this, SLOT(receive(const QCString&,const QByteArray&))); } Keyboard::~Keyboard() { -- cgit v0.9.0.2