summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kcalc/kcalc.cpp12
-rw-r--r--kdf/disklist.cpp6
-rw-r--r--kdf/disks.cpp2
-rw-r--r--kdf/kdf.cpp6
-rw-r--r--kdf/kdfconfig.cpp14
-rw-r--r--kdf/mntconfig.cpp14
6 files changed, 27 insertions, 27 deletions
diff --git a/kcalc/kcalc.cpp b/kcalc/kcalc.cpp
index 8fc490b..7dd0423 100644
--- a/kcalc/kcalc.cpp
+++ b/kcalc/kcalc.cpp
@@ -473,8 +473,8 @@ void KCalculator::setupStatusbar(void)
TQWidget* KCalculator::setupNumericKeys(TQWidget *parent)
{
- Q_CHECK_PTR(mSmallPage);
- Q_CHECK_PTR(mLargePage);
+ TQ_CHECK_PTR(mSmallPage);
+ TQ_CHECK_PTR(mLargePage);
TQWidget *thisPage = new TQWidget(parent);
@@ -743,7 +743,7 @@ TQWidget* KCalculator::setupNumericKeys(TQWidget *parent)
void KCalculator::setupLogicKeys(TQWidget *parent)
{
- Q_CHECK_PTR(parent);
+ TQ_CHECK_PTR(parent);
KCalcButton *tmp_pb;
@@ -796,7 +796,7 @@ void KCalculator::setupLogicKeys(TQWidget *parent)
void KCalculator::setupScientificKeys(TQWidget *parent)
{
- Q_CHECK_PTR(parent);
+ TQ_CHECK_PTR(parent);
KCalcButton *tmp_pb;
@@ -878,7 +878,7 @@ void KCalculator::setupScientificKeys(TQWidget *parent)
void KCalculator::setupStatisticKeys(TQWidget *parent)
{
- Q_CHECK_PTR(parent);
+ TQ_CHECK_PTR(parent);
KCalcButton *tmp_pb;
@@ -951,7 +951,7 @@ void KCalculator::setupStatisticKeys(TQWidget *parent)
void KCalculator::setupConstantsKeys(TQWidget *parent)
{
- Q_CHECK_PTR(parent);
+ TQ_CHECK_PTR(parent);
ConstButtonGroup = new TQButtonGroup(0, "Const-Button-Group");
connect(ConstButtonGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotConstclicked(int)));
diff --git a/kdf/disklist.cpp b/kdf/disklist.cpp
index abec1b8..a49a76b 100644
--- a/kdf/disklist.cpp
+++ b/kdf/disklist.cpp
@@ -52,7 +52,7 @@ DiskList::DiskList(TQObject *parent, const char *name)
disks->setAutoDelete(TRUE);
// BackgroundProcesses ****************************************
- dfProc = new KProcess(); Q_CHECK_PTR(dfProc);
+ dfProc = new KProcess(); TQ_CHECK_PTR(dfProc);
connect( dfProc, TQT_SIGNAL(receivedStdout(KProcess *, char *, int) ),
this, TQT_SLOT (receivedDFStdErrOut(KProcess *, char *, int)) );
connect(dfProc,TQT_SIGNAL(processExited(KProcess *) ),
@@ -186,7 +186,7 @@ TQFile f(FSTAB);
if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) ) {
// not empty or commented out by '#'
// kdDebug() << "GOT: [" << s << "]" << endl;
- disk = new DiskEntry();// Q_CHECK_PTR(disk);
+ disk = new DiskEntry();// TQ_CHECK_PTR(disk);
disk->setMounted(FALSE);
disk->setDeviceName(expandEscapes(s.left(s.find(BLANK))));
s=s.remove(0,s.find(BLANK)+1 );
@@ -293,7 +293,7 @@ void DiskList::dfDone()
s=t.readLine();
s=s.simplifyWhiteSpace();
if ( !s.isEmpty() ) {
- disk = new DiskEntry(); Q_CHECK_PTR(disk);
+ disk = new DiskEntry(); TQ_CHECK_PTR(disk);
if (s.find(BLANK)<0) // devicename was too long, rest in next line
if ( !t.eof() ) { // just appends the next line
diff --git a/kdf/disks.cpp b/kdf/disks.cpp
index c4af664..25c8213 100644
--- a/kdf/disks.cpp
+++ b/kdf/disks.cpp
@@ -55,7 +55,7 @@ void DiskEntry::init()
// BackgroundProcesses ****************************************
- sysProc = new KShellProcess(); Q_CHECK_PTR(sysProc);
+ sysProc = new KShellProcess(); TQ_CHECK_PTR(sysProc);
connect( sysProc, TQT_SIGNAL(receivedStdout(KProcess *, char *, int) ),
this, TQT_SLOT (receivedSysStdErrOut(KProcess *, char *, int)) );
connect( sysProc, TQT_SIGNAL(receivedStderr(KProcess *, char *, int) ),
diff --git a/kdf/kdf.cpp b/kdf/kdf.cpp
index 45f0ec7..fc90b78 100644
--- a/kdf/kdf.cpp
+++ b/kdf/kdf.cpp
@@ -40,7 +40,7 @@ KDFTopLevel::KDFTopLevel(TQWidget *, const char *name)
: KMainWindow(0, name)
{
kdf = new KDFWidget(this,"kdf",FALSE);
- Q_CHECK_PTR(kdf);
+ TQ_CHECK_PTR(kdf);
(void) new KAction( i18n( "&Update" ), 0, TQT_TQOBJECT(kdf), TQT_SLOT( updateDF() ), actionCollection(), "updatedf" );
KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection());
@@ -77,7 +77,7 @@ int main(int argc, char **argv)
for( int n=1; KDFTopLevel::canBeRestored(n); n++ )
{
KDFTopLevel *ktl = new KDFTopLevel();
- Q_CHECK_PTR(ktl);
+ TQ_CHECK_PTR(ktl);
app.setMainWidget(ktl);
ktl->restore(n);
}
@@ -85,7 +85,7 @@ int main(int argc, char **argv)
else
{
KDFTopLevel *ktl = new KDFTopLevel();
- Q_CHECK_PTR(ktl);
+ TQ_CHECK_PTR(ktl);
ktl->show();
}
diff --git a/kdf/kdfconfig.cpp b/kdf/kdfconfig.cpp
index 6831868..b5ea4d0 100644
--- a/kdf/kdfconfig.cpp
+++ b/kdf/kdfconfig.cpp
@@ -98,7 +98,7 @@ KDFConfigWidget::KDFConfigWidget(TQWidget *parent, const char *name, bool init)
gl->setColStretch( 1, 10 );
mScroll = new TQScrollBar( this );
- Q_CHECK_PTR(mScroll);
+ TQ_CHECK_PTR(mScroll);
mScroll->setOrientation( Qt::Horizontal );
mScroll->setSteps(1,20);
mScroll->setRange(0, 180 );
@@ -106,7 +106,7 @@ KDFConfigWidget::KDFConfigWidget(TQWidget *parent, const char *name, bool init)
connect(mScroll,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(slotChanged()));
mLCD = new TQLCDNumber( this );
- Q_CHECK_PTR(mLCD);
+ TQ_CHECK_PTR(mLCD);
mLCD->setNumDigits( 3 );
mLCD->setSegmentStyle(TQLCDNumber::Filled);
connect(mScroll,TQT_SIGNAL(valueChanged(int)),mLCD,TQT_SLOT(display(int)));
@@ -114,28 +114,28 @@ KDFConfigWidget::KDFConfigWidget(TQWidget *parent, const char *name, bool init)
text = i18n("Update frequency [seconds]. The value 0 disables update" );
TQLabel *label = new TQLabel( text, this );
- Q_CHECK_PTR(label);
+ TQ_CHECK_PTR(label);
gl->addWidget( label, 0, 1 );
label = new TQLabel( i18n("File manager (e.g. konsole -e mc %m):") ,this);
- Q_CHECK_PTR(label);
+ TQ_CHECK_PTR(label);
topLayout->addWidget( label );
mFileManagerEdit = new TQLineEdit( this );
- Q_CHECK_PTR(mFileManagerEdit);
+ TQ_CHECK_PTR(mFileManagerEdit);
topLayout->addWidget( mFileManagerEdit );
connect(mFileManagerEdit,TQT_SIGNAL(textChanged (const TQString &)),this,TQT_SLOT(slotChanged()));
text = i18n("Open file manager automatically on mount");
mOpenMountCheck = new TQCheckBox(text, this );
- Q_CHECK_PTR(mOpenMountCheck);
+ TQ_CHECK_PTR(mOpenMountCheck);
topLayout->addWidget( mOpenMountCheck );
connect(mOpenMountCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotChanged()));
text = i18n("Pop up a window when a disk gets critically full");
mPopupFullCheck = new TQCheckBox( text, this );
- Q_CHECK_PTR(mPopupFullCheck);
+ TQ_CHECK_PTR(mPopupFullCheck);
topLayout->addWidget( mPopupFullCheck );
connect(mPopupFullCheck,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotChanged()));
}
diff --git a/kdf/mntconfig.cpp b/kdf/mntconfig.cpp
index a2634ca..d016b47 100644
--- a/kdf/mntconfig.cpp
+++ b/kdf/mntconfig.cpp
@@ -83,7 +83,7 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init)
arg(mList->header()->label(MNTPNTCOL)).
arg(i18n("None"));
mGroupBox = new TQGroupBox( text, this );
- Q_CHECK_PTR(mGroupBox);
+ TQ_CHECK_PTR(mGroupBox);
topLayout->addWidget(mGroupBox);
TQGridLayout *gl = new TQGridLayout(mGroupBox, 3, 4, KDialog::spacingHint());
@@ -91,7 +91,7 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init)
gl->addRowSpacing( 0, fontMetrics().lineSpacing() );
mIconLineEdit = new TQLineEdit(mGroupBox);
- Q_CHECK_PTR(mIconLineEdit);
+ TQ_CHECK_PTR(mIconLineEdit);
mIconLineEdit->setMinimumWidth( fontMetrics().maxWidth()*10 );
connect( mIconLineEdit, TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(iconChanged(const TQString&)));
@@ -101,19 +101,19 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init)
mIconButton = new KIconButton(mGroupBox);
mIconButton->setIconType(KIcon::Small, KIcon::Device);
- Q_CHECK_PTR(mIconButton);
+ TQ_CHECK_PTR(mIconButton);
mIconButton->setFixedWidth( mIconButton->sizeHint().height() );
connect(mIconButton,TQT_SIGNAL(iconChanged(TQString)),this,TQT_SLOT(iconChangedButton(TQString)));
gl->addWidget( mIconButton, 2, 1 );
//Mount
mMountButton = new TQPushButton( i18n("Get Mount Command"), mGroupBox );
- Q_CHECK_PTR(mMountButton);
+ TQ_CHECK_PTR(mMountButton);
connect(mMountButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(selectMntFile()));
gl->addWidget( mMountButton, 1, 2 );
mMountLineEdit = new TQLineEdit(mGroupBox);
- Q_CHECK_PTR(mMountLineEdit);
+ TQ_CHECK_PTR(mMountLineEdit);
mMountLineEdit->setMinimumWidth( fontMetrics().maxWidth()*10 );
connect(mMountLineEdit,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(mntCmdChanged(const TQString&)));
@@ -123,12 +123,12 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init)
//Umount
mUmountButton = new TQPushButton(i18n("Get Unmount Command"), mGroupBox );
- Q_CHECK_PTR( mUmountButton );
+ TQ_CHECK_PTR( mUmountButton );
connect(mUmountButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(selectUmntFile()));
gl->addWidget( mUmountButton, 2, 2 );
mUmountLineEdit=new TQLineEdit(mGroupBox);
- Q_CHECK_PTR(mUmountLineEdit);
+ TQ_CHECK_PTR(mUmountLineEdit);
mUmountLineEdit->setMinimumWidth( fontMetrics().maxWidth()*10 );
connect(mUmountLineEdit,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(umntCmdChanged(const TQString&)));