summaryrefslogtreecommitdiffstats
path: root/kcontrol/samba
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/samba')
-rw-r--r--kcontrol/samba/kcmsambalog.cpp14
-rw-r--r--kcontrol/samba/kcmsambastatistics.cpp24
2 files changed, 19 insertions, 19 deletions
diff --git a/kcontrol/samba/kcmsambalog.cpp b/kcontrol/samba/kcmsambalog.cpp
index 8b56a9fe0..8289e9443 100644
--- a/kcontrol/samba/kcmsambalog.cpp
+++ b/kcontrol/samba/kcmsambalog.cpp
@@ -116,14 +116,14 @@ LogView::LogView(TQWidget *parent,KConfig *config, const char *name)
connect(&updateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(updateList()));
emit contentsChanged(&viewHistory,0,0);
- label.setMinimumSize(label.tqsizeHint());
- logFileName.setMinimumSize(250,logFileName.tqsizeHint().height());
+ label.setMinimumSize(label.sizeHint());
+ logFileName.setMinimumSize(250,logFileName.sizeHint().height());
viewHistory.setMinimumSize(425,200);
- showConnOpen.setMinimumSize(showConnOpen.tqsizeHint());
- showConnClose.setMinimumSize(showConnClose.tqsizeHint());
- showFileOpen.setMinimumSize(showFileOpen.tqsizeHint());
- showFileClose.setMinimumSize(showFileClose.tqsizeHint());
- updateButton.setFixedSize(updateButton.tqsizeHint());
+ showConnOpen.setMinimumSize(showConnOpen.sizeHint());
+ showConnClose.setMinimumSize(showConnClose.sizeHint());
+ showFileOpen.setMinimumSize(showFileOpen.sizeHint());
+ showFileClose.setMinimumSize(showFileClose.sizeHint());
+ updateButton.setFixedSize(updateButton.sizeHint());
}
void LogView::loadSettings()
diff --git a/kcontrol/samba/kcmsambastatistics.cpp b/kcontrol/samba/kcmsambastatistics.cpp
index ee9a8ab20..431e0f51a 100644
--- a/kcontrol/samba/kcmsambastatistics.cpp
+++ b/kcontrol/samba/kcmsambastatistics.cpp
@@ -80,18 +80,18 @@ StatisticsView::StatisticsView(TQWidget *parent,KConfig *config, const char *nam
hostLe->setText("*");
viewStatistics->setMinimumSize(375,200);
- connectionsL->setMinimumSize(connectionsL->tqsizeHint());
- filesL->setMinimumSize(filesL->tqsizeHint());
- eventL->setMinimumSize(eventL->tqsizeHint());
- eventCb->setMinimumSize(eventCb->tqsizeHint());
- hostL->setMinimumSize(hostL->tqsizeHint());
- hostLe->setMinimumSize(120,hostLe->tqsizeHint().height());
- serviceL->setMinimumSize(serviceL->tqsizeHint());
- serviceLe->setMinimumSize(120,serviceLe->tqsizeHint().height());
- calcButton->setMinimumSize(calcButton->tqsizeHint());
- clearButton->setMinimumSize(clearButton->tqsizeHint());
- expandedInfoCb->setMinimumSize(expandedInfoCb->tqsizeHint());
- expandedUserCb->setMinimumSize(expandedUserCb->tqsizeHint());
+ connectionsL->setMinimumSize(connectionsL->sizeHint());
+ filesL->setMinimumSize(filesL->sizeHint());
+ eventL->setMinimumSize(eventL->sizeHint());
+ eventCb->setMinimumSize(eventCb->sizeHint());
+ hostL->setMinimumSize(hostL->sizeHint());
+ hostLe->setMinimumSize(120,hostLe->sizeHint().height());
+ serviceL->setMinimumSize(serviceL->sizeHint());
+ serviceLe->setMinimumSize(120,serviceLe->sizeHint().height());
+ calcButton->setMinimumSize(calcButton->sizeHint());
+ clearButton->setMinimumSize(clearButton->sizeHint());
+ expandedInfoCb->setMinimumSize(expandedInfoCb->sizeHint());
+ expandedUserCb->setMinimumSize(expandedUserCb->sizeHint());
TQVBoxLayout *topLayout=new TQVBoxLayout(this, KDialog::marginHint(),
KDialog::spacingHint());