diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
commit | 4c04a441814c7d1dda08f6075ab4e09dc05541df (patch) | |
tree | cf8a3dbd77114c416255d3995cd1b047072ef26a /src/activityviewer.cpp | |
parent | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (diff) | |
download | klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.tar.gz klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.zip |
Conversion KDE3->TDE
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/activityviewer.cpp')
-rw-r--r-- | src/activityviewer.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/activityviewer.cpp b/src/activityviewer.cpp index 6df81b6..7b11b57 100644 --- a/src/activityviewer.cpp +++ b/src/activityviewer.cpp @@ -11,16 +11,16 @@ #include "collectiondb.h" -#include <klocale.h> +#include <tdelocale.h> #include <kiconloader.h> -#include <kmenubar.h> +#include <tdemenubar.h> #include <kstatusbar.h> #include <kkeydialog.h> -#include <kio/netaccess.h> -#include <kfiledialog.h> +#include <tdeio/netaccess.h> +#include <tdefiledialog.h> #include <kdebug.h> -#include <klistviewsearchline.h> -#include <ktoolbarbutton.h> //ctor +#include <tdelistviewsearchline.h> +#include <tdetoolbarbutton.h> //ctor #include <kbuttonbox.h> @@ -28,7 +28,7 @@ #include <kurlcompletion.h> #include <kcombobox.h> #include <tqlayout.h> -#include <kmessagebox.h> +#include <tdemessagebox.h> #include <kstandarddirs.h> #include <tqtoolbutton.h> @@ -122,18 +122,18 @@ Activityviewer::Activityviewer(TQWidget *parent, const char *name) - KToolBarButton *button; - KToolBar* searchToolBar = new KToolBar( hlp2 ); + TDEToolBarButton *button; + TDEToolBar* searchToolBar = new TDEToolBar( hlp2 ); searchToolBar->setMovingEnabled(false); searchToolBar->setFlat(true); searchToolBar->setIconSize( 16 ); searchToolBar->setEnableContextMenu( false ); - button = new KToolBarButton( "locationbar_erase", 0, searchToolBar ); + button = new TDEToolBarButton( "locationbar_erase", 0, searchToolBar ); /*TQLabel *filter_label =*/ new TQLabel( i18n("Search:") + " ", searchToolBar ); - currentbox = new KListView(hlp2); + currentbox = new TDEListView(hlp2); currentbox->setShowSortIndicator(true); TQFontMetrics rb_fm(currentbox->fontMetrics()); @@ -153,7 +153,7 @@ Activityviewer::Activityviewer(TQWidget *parent, const char *name) // connect(currentbox, SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint& , int ) ), // this, SLOT( slotRMB( TQListViewItem *, const TQPoint &, int ) ) ); - kLineEdit1 = new KListViewSearchLine( (TQWidget *)searchToolBar, currentbox,"klinedit1"); + kLineEdit1 = new TDEListViewSearchLine( (TQWidget *)searchToolBar, currentbox,"klinedit1"); /* TQValueList<int> columns; columns.append(0); columns.append(1); @@ -256,7 +256,7 @@ void Activityviewer::insertItem(const TQString &date, const TQString &type, co void Activityviewer::slotOptions(){ - kmain->slotConfigKlamav( "Event Logging" ); + tdemain->slotConfigKlamav( "Event Logging" ); } @@ -265,8 +265,8 @@ Activityviewer::~Activityviewer() { } -EventListItem::EventListItem( KListView *parent, TQString label1, TQString label2 , TQString label3, TQString label4) - : KListViewItem( parent, label1, label2 , label3, label4 ) +EventListItem::EventListItem( TDEListView *parent, TQString label1, TQString label2 , TQString label3, TQString label4) + : TDEListViewItem( parent, label1, label2 , label3, label4 ) { } @@ -288,7 +288,7 @@ void EventListItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int colu else if ( this->text(1) == "Quarantine") cg2.setColor(TQColorGroup::Text, TQt::green); - KListViewItem::paintCell( p, cg2, column, width, align ); + TDEListViewItem::paintCell( p, cg2, column, width, align ); } |