summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/kwordquizview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwordquiz/src/kwordquizview.cpp')
-rw-r--r--kwordquiz/src/kwordquizview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kwordquiz/src/kwordquizview.cpp b/kwordquiz/src/kwordquizview.cpp
index 5fbf5be6..3fac1d06 100644
--- a/kwordquiz/src/kwordquizview.cpp
+++ b/kwordquiz/src/kwordquizview.cpp
@@ -435,7 +435,7 @@ void KWordQuizView::doEditCopy( )
s = s + text(r, c) + "\t";
s = s + "\n";
}
- kapp->clipboard()->setText(s);
+ tdeApp->clipboard()->setText(s);
}
getDocument()->setModified(mod);
}
@@ -457,7 +457,7 @@ void KWordQuizView::doEditPaste( )
if (lc == rc && tr == br) //one cell selected
{
- TQString s = kapp->clipboard()->text();
+ TQString s = tdeApp->clipboard()->text();
TQStringList sl;
sl = TQStringList::split("\n", s);
@@ -498,7 +498,7 @@ void KWordQuizView::doEditPaste( )
}
else
{
- TQString s = kapp->clipboard()->text();
+ TQString s = tdeApp->clipboard()->text();
TQStringList sl;
sl = TQStringList::split("\n", s);
uint i = 0;
@@ -842,8 +842,8 @@ void KWordQuizView::doVocabSpecChar( )
if (dlgSpecChar==0)
{
dlgSpecChar = new DlgSpecChar( this, "insert special char", f, c, false );
- connect( dlgSpecChar, TQT_SIGNAL(insertChar(TQChar)), this, TQT_SLOT(slotSpecChar(TQChar)));
- connect( dlgSpecChar, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotDlgSpecCharClosed() ) );
+ connect( dlgSpecChar, TQ_SIGNAL(insertChar(TQChar)), this, TQ_SLOT(slotSpecChar(TQChar)));
+ connect( dlgSpecChar, TQ_SIGNAL( finished() ), this, TQ_SLOT( slotDlgSpecCharClosed() ) );
}
dlgSpecChar->show();
}
@@ -852,8 +852,8 @@ void KWordQuizView::slotDlgSpecCharClosed( )
{
if ( dlgSpecChar )
{
- disconnect( dlgSpecChar, TQT_SIGNAL(insertChar(TQChar)), this, TQT_SLOT(slotSpecChar(TQChar)));
- disconnect( dlgSpecChar, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotDlgSpecCharClosed() ) );
+ disconnect( dlgSpecChar, TQ_SIGNAL(insertChar(TQChar)), this, TQ_SLOT(slotSpecChar(TQChar)));
+ disconnect( dlgSpecChar, TQ_SIGNAL( finished() ), this, TQ_SLOT( slotDlgSpecCharClosed() ) );
dlgSpecChar->deleteLater();
dlgSpecChar = 0L;
}
@@ -1051,7 +1051,7 @@ void KWordQuizView::slotCheckedAnswer( int i )
bool KWordQuizView::eventFilter( TQObject * o, TQEvent * e )
{
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(cellEditor))
+ if (o == cellEditor)
{
if ( e->type() == TQEvent::KeyPress )
{