From kde-devel Thu Jul 08 15:39:19 2010 From: Date: Thu, 08 Jul 2010 15:39:19 +0000 To: kde-devel Subject: =?utf-8?q?about_the_source_code_of_kget?= Message-Id: <4C35F15C.000AA9.32076 () m15-114 ! 126 ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=127860370401208 i just reading the source of the kget , but i found some confusing codes , show as fellow: file : kget/ui/viewscontainer.cpp ViewsContainer::ViewsContainer(QWidget * parent) : QWidget(parent) { .... m_downloadsBt = new ButtonBase(); // <------ mark 1 m_downloadsBt->setText(i18n("Downloads")); m_downloadsBt->setIcon(SmallIcon("kget")); m_downloadsBt->setChecked(true); // m_finishedBt = new ButtonBase(); // m_finishedBt->setText(i18n("Old Mainview")); // m_finishedBt->setIcon(SmallIcon("dialog-ok")); m_transfersBt = new TransfersButton(); m_HLayout->addWidget(m_downloadsBt); // m_HLayout->addWidget(m_finishedBt); m_HLayout->addStretch(1); m_HLayout->addWidget(new QLabel(i18n("Transfer details:"), this)); // <----- mark 2 m_HLayout->addWidget(m_transfersBt); .... } i can't understand the source code where i marked , because i can't tell what function the will do , i just don't find the button with text of "Downloads" and the label with "Transfer details:" on the mainWindow , so what the source code do ? >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<