diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:44:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:44:46 -0600 |
commit | cee429821aa6f1acc97fb482d325fb4eb37376ca (patch) | |
tree | 4f55e04b7f000c854fe2b8347dcdb62d97de3c73 /kwordquiz/src/kwordquizview.cpp | |
parent | ab801f72ab45e8066a8ec6c533ef13c2da67e559 (diff) | |
download | tdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.tar.gz tdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kwordquiz/src/kwordquizview.cpp')
-rw-r--r-- | kwordquiz/src/kwordquizview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kwordquiz/src/kwordquizview.cpp b/kwordquiz/src/kwordquizview.cpp index bc6acc68..4b1f1cfc 100644 --- a/kwordquiz/src/kwordquizview.cpp +++ b/kwordquiz/src/kwordquizview.cpp @@ -141,7 +141,7 @@ void KWordQuizView::print(KPrinter *pPrinter) painter.drawLine(card_marg + card_width + card_text_marg, tPos + card_line_top, card_marg + card_width + card_width - card_text_marg, tPos + card_line_top); //draw headers - painter.setFont(KGlobalSettings::generalFont()); + painter.setFont(TDEGlobalSettings::generalFont()); painter.drawText(card_marg + card_text_marg, tPos, card_width, card_line_top, AlignAuto | AlignVCenter, horizontalHeader()->label(0)); painter.drawText(card_marg + card_width + card_text_marg, tPos, card_width, card_line_top, AlignAuto | AlignVCenter, horizontalHeader()->label(1)); //draw text @@ -167,7 +167,7 @@ void KWordQuizView::print(KPrinter *pPrinter) for (int rc = 0; rc < numRows(); ++rc) { painter.drawLine(lPos, tPos, lPos + gridWidth, tPos); - painter.setFont(KGlobalSettings::generalFont()); + painter.setFont(TDEGlobalSettings::generalFont()); painter.drawText(lPos, tPos, cw0 - pad, rowHeight(rc), AlignRight | AlignVCenter, TQString::number(rc + 1)); @@ -207,7 +207,7 @@ void KWordQuizView::doNewPage( TQPainter & painter, int res, int type ) TQRect w = painter.window(); - painter.setFont(KGlobalSettings::generalFont()); + painter.setFont(TDEGlobalSettings::generalFont()); if (type == 2) { @@ -238,7 +238,7 @@ void KWordQuizView::doNewPage( TQPainter & painter, int res, int type ) void KWordQuizView::doEndOfPage( TQPainter & painter, int vPos, int pageNum, int res, int type ) { int marg = res; - painter.setFont(KGlobalSettings::generalFont()); + painter.setFont(TDEGlobalSettings::generalFont()); TQRect w = painter.window(); TQRect r = painter.boundingRect(0, 0, 0, 0, AlignAuto, TQString::number(pageNum)); painter.drawText((w.width()/2) - (r.width()/2), w.height() - marg + 20, TQString::number(pageNum)); @@ -996,8 +996,8 @@ void KWordQuizView::addUndo( const TQString & caption ) void KWordQuizView::setFont( const TQFont & font) { TQTable::setFont(font); - horizontalHeader()->setFont(KGlobalSettings::generalFont()); - verticalHeader()->setFont(KGlobalSettings::generalFont()); + horizontalHeader()->setFont(TDEGlobalSettings::generalFont()); + verticalHeader()->setFont(TDEGlobalSettings::generalFont()); for (int i = 0; i < numRows(); ++i) adjustRow(i); //setRowHeight(i, fontMetrics().lineSpacing() ); } |