summaryrefslogtreecommitdiffstats
path: root/kdf/mntconfig.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:09:37 +0900
committerMichele Calgaro <[email protected]>2024-01-14 14:09:37 +0900
commitaf0b8f5d1e5e00b1f3b48658d89876c2df28e71c (patch)
tree11e4cc0bc31cd049daeb734b4d9e0ee00fac9eab /kdf/mntconfig.cpp
parent09fd0dead9b5dcb29dde24957ae8c07269c49aa1 (diff)
downloadtdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.tar.gz
tdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdf/mntconfig.cpp')
-rw-r--r--kdf/mntconfig.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kdf/mntconfig.cpp b/kdf/mntconfig.cpp
index 37b9ff8..dc9a771 100644
--- a/kdf/mntconfig.cpp
+++ b/kdf/mntconfig.cpp
@@ -59,7 +59,7 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init)
mDiskList.readFSTAB();
mDiskList.readDF();
mInitializing = true;
- connect( &mDiskList,TQT_SIGNAL(readDFDone()),this,TQT_SLOT(readDFDone()));
+ connect( &mDiskList,TQ_SIGNAL(readDFDone()),this,TQ_SLOT(readDFDone()));
TQString text;
TQVBoxLayout *topLayout = new TQVBoxLayout( this, 0, KDialog::spacingHint());
@@ -72,8 +72,8 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init)
mList->addColumn( i18n("Mount Command") );
mList->addColumn( i18n("Unmount Command") );
mList->setFrameStyle( TQFrame::WinPanel + TQFrame::Sunken );
- connect( mList, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(clicked(TQListViewItem *)));
+ connect( mList, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(clicked(TQListViewItem *)));
topLayout->addWidget( mList );
@@ -93,47 +93,47 @@ MntConfigWidget::MntConfigWidget(TQWidget *parent, const char *name, bool init)
mIconLineEdit = new TQLineEdit(mGroupBox);
TQ_CHECK_PTR(mIconLineEdit);
mIconLineEdit->setMinimumWidth( fontMetrics().maxWidth()*10 );
- connect( mIconLineEdit, TQT_SIGNAL(textChanged(const TQString&)),
- this,TQT_SLOT(iconChanged(const TQString&)));
- connect( mIconLineEdit, TQT_SIGNAL(textChanged(const TQString&)),
- this,TQT_SLOT(slotChanged()));
+ connect( mIconLineEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ this,TQ_SLOT(iconChanged(const TQString&)));
+ connect( mIconLineEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ this,TQ_SLOT(slotChanged()));
gl->addWidget( mIconLineEdit, 2, 0 );
mIconButton = new TDEIconButton(mGroupBox);
mIconButton->setIconType(TDEIcon::Small, TDEIcon::Device);
TQ_CHECK_PTR(mIconButton);
mIconButton->setFixedWidth( mIconButton->sizeHint().height() );
- connect(mIconButton,TQT_SIGNAL(iconChanged(TQString)),this,TQT_SLOT(iconChangedButton(TQString)));
+ connect(mIconButton,TQ_SIGNAL(iconChanged(TQString)),this,TQ_SLOT(iconChangedButton(TQString)));
gl->addWidget( mIconButton, 2, 1 );
//Mount
mMountButton = new TQPushButton( i18n("Get Mount Command"), mGroupBox );
TQ_CHECK_PTR(mMountButton);
- connect(mMountButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(selectMntFile()));
+ connect(mMountButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(selectMntFile()));
gl->addWidget( mMountButton, 1, 2 );
mMountLineEdit = new TQLineEdit(mGroupBox);
TQ_CHECK_PTR(mMountLineEdit);
mMountLineEdit->setMinimumWidth( fontMetrics().maxWidth()*10 );
- connect(mMountLineEdit,TQT_SIGNAL(textChanged(const TQString&)),
- this,TQT_SLOT(mntCmdChanged(const TQString&)));
- connect( mMountLineEdit, TQT_SIGNAL(textChanged(const TQString&)),
- this,TQT_SLOT(slotChanged()));
+ connect(mMountLineEdit,TQ_SIGNAL(textChanged(const TQString&)),
+ this,TQ_SLOT(mntCmdChanged(const TQString&)));
+ connect( mMountLineEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ this,TQ_SLOT(slotChanged()));
gl->addWidget( mMountLineEdit, 1, 3 );
//Umount
mUmountButton = new TQPushButton(i18n("Get Unmount Command"), mGroupBox );
TQ_CHECK_PTR( mUmountButton );
- connect(mUmountButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(selectUmntFile()));
+ connect(mUmountButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(selectUmntFile()));
gl->addWidget( mUmountButton, 2, 2 );
mUmountLineEdit=new TQLineEdit(mGroupBox);
TQ_CHECK_PTR(mUmountLineEdit);
mUmountLineEdit->setMinimumWidth( fontMetrics().maxWidth()*10 );
- connect(mUmountLineEdit,TQT_SIGNAL(textChanged(const TQString&)),
- this,TQT_SLOT(umntCmdChanged(const TQString&)));
- connect( mUmountLineEdit, TQT_SIGNAL(textChanged(const TQString&)),
- this,TQT_SLOT(slotChanged()));
+ connect(mUmountLineEdit,TQ_SIGNAL(textChanged(const TQString&)),
+ this,TQ_SLOT(umntCmdChanged(const TQString&)));
+ connect( mUmountLineEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ this,TQ_SLOT(slotChanged()));
gl->addWidget( mUmountLineEdit, 2, 3 );
}