diff options
Diffstat (limited to 'kbarcode/kbarcodesettings.cpp')
-rw-r--r-- | kbarcode/kbarcodesettings.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kbarcode/kbarcodesettings.cpp b/kbarcode/kbarcodesettings.cpp index aaa33d0..91dc9ae 100644 --- a/kbarcode/kbarcodesettings.cpp +++ b/kbarcode/kbarcodesettings.cpp @@ -28,13 +28,13 @@ #include <knuminput.h> // QT includes -#include <qcheckbox.h> +#include <tqcheckbox.h> KBarcodeSettings* KBarcodeSettings::m_instance = 0; int KBarcodeSettings::gridsize = 30; bool KBarcodeSettings::newdlg = true; -QColor KBarcodeSettings::gridcolor = Qt::black; -QString KBarcodeSettings::dateFormat = ""; +TQColor KBarcodeSettings::gridcolor = TQt::black; +TQString KBarcodeSettings::dateFormat = ""; KBarcodeSettings* KBarcodeSettings::getInstance() { @@ -69,7 +69,7 @@ void KBarcodeSettings::loadConfig() { KConfig* config = kapp->config(); - QColor tmpc( Qt::lightGray ); + TQColor tmpc( TQt::lightGray ); config->setGroup("LabelEditor"); gridsize = config->readNumEntry("grid", 5); gridcolor = config->readColorEntry("gridcolor", &tmpc ); @@ -84,12 +84,12 @@ void KBarcodeSettings::configure() cd->colorGrid->setColor( gridcolor ); cd->checkNewDlg->setChecked( newdlg ); cd->date->setText( dateFormat ); - if( cd->exec() == QDialog::Accepted ) { + if( cd->exec() == TQDialog::Accepted ) { PrinterSettings::getInstance()->saveConfig(); SqlTables::getInstance()->saveConfig(); int oldgrid = gridsize; - QColor oldcolor = gridcolor; + TQColor oldcolor = gridcolor; gridsize = cd->spinGrid->value(); gridcolor = cd->colorGrid->color(); // gridsize or gridcolor has been changed |