summaryrefslogtreecommitdiffstats
path: root/src/clicklineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clicklineedit.cpp')
-rw-r--r--src/clicklineedit.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/clicklineedit.cpp b/src/clicklineedit.cpp
index a4ceb21..e3cb6db 100644
--- a/src/clicklineedit.cpp
+++ b/src/clicklineedit.cpp
@@ -24,9 +24,9 @@
#include "klamscan.h"
#include "klamav.h"
-#include "qpainter.h"
+#include "ntqpainter.h"
-ClickComboBox::ClickComboBox( bool rw,QWidget *parent, const char* name ) :
+ClickComboBox::ClickComboBox( bool rw,TQWidget *parent, const char* name ) :
KComboBox( rw,parent, name )
{
/* mDrawClickMsg = true;
@@ -38,17 +38,17 @@ ClickComboBox::ClickComboBox( bool rw,QWidget *parent, const char* name ) :
// PUBLIC
/////////////////////////////////////////////////////////////////////////////////////
-// void ClickComboBox::setClickMessage( const QString &msg )
+// void ClickComboBox::setClickMessage( const TQString &msg )
// {
// mClickMessage = msg;
// repaint();
// }
-void ClickComboBox::mousePressEvent( QMouseEvent * e )
+void ClickComboBox::mousePressEvent( TQMouseEvent * e )
{
- QComboBox::mousePressEvent( e );
+ TQComboBox::mousePressEvent( e );
repaint();
}
@@ -58,42 +58,42 @@ void ClickComboBox::mousePressEvent( QMouseEvent * e )
// PROTECTED
/////////////////////////////////////////////////////////////////////////////////////
-void ClickComboBox::paintEvent( QPaintEvent * ev)
+void ClickComboBox::paintEvent( TQPaintEvent * ev)
{
KComboBox::paintEvent(ev);
if (kmain->klamscan->isMultiScan()){
//kdDebug() << "drawing text" << endl;
- QPainter p (this->lineEdit());
- p.setPen( palette().color( QPalette::Disabled, QColorGroup::Text ) );
- QRect cr = this->lineEdit()->contentsRect();
+ TQPainter p (this->lineEdit());
+ p.setPen( palette().color( TQPalette::Disabled, TQColorGroup::Text ) );
+ TQRect cr = this->lineEdit()->contentsRect();
// Add two pixel margin on the left side
//cr.setRight( cr.right() + 800 );
cr.setWidth(800);
//kdDebug() << cr << endl;
p.drawText( cr, AlignAuto , i18n( "Multiple Directories Selected" ) );
- //this->setPaletteForegroundColor(palette().color( QPalette::Disabled, QColorGroup::Text ));
+ //this->setPaletteForegroundColor(palette().color( TQPalette::Disabled, TQColorGroup::Text ));
}
}
-void ClickComboBox::focusInEvent( QFocusEvent *ev )
+void ClickComboBox::focusInEvent( TQFocusEvent *ev )
{
/* if ( mDrawClickMsg == true ) {
mDrawClickMsg = false;
repaint();
}*/
- QComboBox::focusInEvent( ev );
+ TQComboBox::focusInEvent( ev );
}
-void ClickComboBox::focusOutEvent( QFocusEvent *ev )
+void ClickComboBox::focusOutEvent( TQFocusEvent *ev )
{
/* if ( currentText().isEmpty() ) {
mDrawClickMsg = true;
repaint();
}*/
- QComboBox::focusOutEvent( ev );
+ TQComboBox::focusOutEvent( ev );
}