Removed remains of ClamAV updates in wizard.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/24/head
Mavridis Philippe 3 years ago
parent fcf6db7789
commit fc49717536
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -9,7 +9,7 @@
<x>0</x>
<y>0</y>
<width>830</width>
<height>443</height>
<height>514</height>
</rect>
</property>
<property name="caption">
@ -89,56 +89,6 @@
<attribute name="title">
<string>Storage Locations (1 of 1)</string>
</attribute>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>20</height>
</size>
</property>
<property name="geometry">
<rect>
<x>426</x>
<y>50</y>
<width>80</width>
<height>20</height>
</rect>
</property>
</spacer>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
</size>
</property>
<property name="geometry">
<rect>
<x>390</x>
<y>340</y>
<width>20</width>
<height>30</height>
</rect>
</property>
</spacer>
<widget class="TQCheckBox">
<property name="name">
<cstring>CheckForDatabaseUpdates</cstring>
@ -161,28 +111,6 @@
<bool>true</bool>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>CheckForClamAVUpdates</cstring>
</property>
<property name="geometry">
<rect>
<x>466</x>
<y>300</y>
<width>340</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Check for updates &amp;to ClamAV now.</string>
</property>
<property name="accel">
<string>Alt+T</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
@ -288,31 +216,6 @@
</rect>
</property>
</spacer>
<spacer>
<property name="name">
<cstring>spacer16</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
</size>
</property>
<property name="geometry">
<rect>
<x>200</x>
<y>130</y>
<width>21</width>
<height>20</height>
</rect>
</property>
</spacer>
<widget class="KActiveLabel">
<property name="name">
<cstring>text2</cstring>
@ -321,8 +224,8 @@
<rect>
<x>15</x>
<y>15</y>
<width>405</width>
<height>110</height>
<width>740</width>
<height>105</height>
</rect>
</property>
<property name="sizePolicy">
@ -337,17 +240,40 @@
<enum>Manual</enum>
</property>
<property name="text">
<string>&lt;p&gt;KlamAV needs to know two things to get started: where you want to store your quarantine and where you want to store your signature database!.&lt;/p&gt;
<string>&lt;p&gt;KlamAV needs to know two things to get started: where you want to store your quarantine and where you want to store your signature database.&lt;/p&gt;
&lt;p&gt;You can change these settings at a later time using the configuration dialog.&lt;/p&gt;</string>
</property>
<property name="wrapPolicy">
<enum>AtWordBoundary</enum>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer16</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>30</height>
</size>
</property>
<property name="geometry">
<rect>
<x>200</x>
<y>120</y>
<width>21</width>
<height>30</height>
</rect>
</property>
</spacer>
</widget>
</widget>
<customwidgets>
</customwidgets>
<includes>
<include location="local" impldecl="in implementation">firstrunwizard.ui.h</include>
</includes>
@ -365,11 +291,9 @@
<function returnType="TQString">defaultDatabasePath()</function>
<function returnType="TQString">defaultQuarantinePath()</function>
<function returnType="bool">downloadDatabase()</function>
<function returnType="bool">downloadClamAV()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kactivelabel.h</includehint>
<includehint>kactivelabel.h</includehint>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>

@ -128,13 +128,3 @@ FirstRunWizard::downloadDatabase( ) //virtual
return true;
return false;
}
bool
FirstRunWizard::downloadClamAV( ) //virtual
{
if (CheckForClamAVUpdates->isChecked())
return true;
return false;
}

@ -41,7 +41,6 @@ Klamav::Klamav()
{
downloadDBForWizard = false;
downloadClamAVForWizard = false;
tdemain = this;
TQVBoxLayout *top = new TQVBoxLayout(this,10,10);
@ -150,8 +149,6 @@ Klamav::Klamav()
tab->setCurrentPage(2);
freshklam->slotSearch();
}
if (downloadClamAVForWizard)
freshklam->checkForNewClamAVNow();
//klamdb->shouldIShow();
CollectionDB::instance()->insertEvent("Launch","KlamAV Launched");
@ -290,10 +287,6 @@ void Klamav::firstRunWizard() {
kdDebug() << "downloading database" << endl;
downloadDBForWizard = true;
}
if (wizard.downloadClamAV()){
kdDebug() << "downloading clamav" << endl;
downloadClamAVForWizard = true;
}
}

@ -75,7 +75,6 @@ public:
Freshklam *freshklam;
bool firstDownload;
bool downloadDBForWizard;
bool downloadClamAVForWizard;
Kuarantine *kuarantine;
KlamDB *klamdb;
Klamscan *klamscan;

Loading…
Cancel
Save