diff options
Diffstat (limited to 'kpacman/kpacmanview.cpp')
-rw-r--r-- | kpacman/kpacmanview.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpacman/kpacmanview.cpp b/kpacman/kpacmanview.cpp index 73d3f44..b1931ec 100644 --- a/kpacman/kpacmanview.cpp +++ b/kpacman/kpacmanview.cpp @@ -15,8 +15,8 @@ * * ***************************************************************************/ -// include files for Qt -#include <qmessagebox.h> +// include files for TQt +#include <ntqmessagebox.h> // include files for KDE #include <kapp.h> @@ -30,7 +30,7 @@ #include "referee.h" #include "status.h" -KpacmanView::KpacmanView( QWidget *parent, const char *name) : QWidget( parent, name ) +KpacmanView::KpacmanView( TQWidget *parent, const char *name) : TQWidget( parent, name ) { bitfont = NULL; fontName = ""; @@ -52,7 +52,7 @@ KpacmanView::~KpacmanView() void KpacmanView::confMisc(bool defGroup) { KStandardDirs *dirs = KGlobal::dirs(); - QString findPath; + TQString findPath; if (defGroup || kapp->config()->hasKey("Font")) { fontName = kapp->config()->readEntry("Font"); @@ -73,9 +73,9 @@ void KpacmanView::confMisc(bool defGroup) void KpacmanView::confScheme() { - QString lastFontName = fontName; - QString oldgroup = kapp->config()->group(); - QString newgroup; + TQString lastFontName = fontName; + TQString oldgroup = kapp->config()->group(); + TQString newgroup; // if not set, read mode and scheme from the configfile if (mode == -1 && scheme == -1) { @@ -115,11 +115,11 @@ void KpacmanView::confScheme() bitfont = new Bitfont(fontName, bitfontFirstChar, bitfontLastChar); if (bitfont->width() == 0 || bitfont->height() == 0) { - QString msg = i18n("The bitfont could not be contructed.\n\n" + TQString msg = i18n("The bitfont could not be contructed.\n\n" "The file '@FONTNAME@' does not exist,\n" "or is of an unknown format."); - msg.replace(QRegExp("@FONTNAME@"), fontName); - // QMessageBox::critical(this, i18n("Initialization Error"), msg); + msg.replace(TQRegExp("@FONTNAME@"), fontName); + // TQMessageBox::critical(this, i18n("Initialization Error"), msg); printf("%s\n", msg.data()); } } @@ -147,7 +147,7 @@ void KpacmanView::setScheme(int Scheme, int Mode) status->repaint(FALSE); } -void KpacmanView::resizeEvent( QResizeEvent * ) +void KpacmanView::resizeEvent( TQResizeEvent * ) { referee->setGeometry(0, bitfont->height()*3, referee->width(), referee->height()); referee->setBackgroundColor(BLACK); |