summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/kasbar
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kicker/extensions/kasbar
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/extensions/kasbar')
-rw-r--r--kicker/extensions/kasbar/ChangeLog30
-rw-r--r--kicker/extensions/kasbar/DESIGN2
-rw-r--r--kicker/extensions/kasbar/Doxyfile16
-rw-r--r--kicker/extensions/kasbar/kasbar.cpp40
-rw-r--r--kicker/extensions/kasbar/kasbar.h12
-rw-r--r--kicker/extensions/kasbar/kasbarextension.cpp8
-rw-r--r--kicker/extensions/kasbar/kasbarextension.h2
-rw-r--r--kicker/extensions/kasbar/kasclockitem.cpp6
-rw-r--r--kicker/extensions/kasbar/kasgroupitem.cpp4
-rw-r--r--kicker/extensions/kasbar/kasitem.cpp10
-rw-r--r--kicker/extensions/kasbar/kasitem.h6
-rw-r--r--kicker/extensions/kasbar/kasloaditem.cpp4
-rw-r--r--kicker/extensions/kasbar/kaspopup.cpp8
-rw-r--r--kicker/extensions/kasbar/kasprefsdlg.cpp2
-rw-r--r--kicker/extensions/kasbar/kasresources.cpp4
-rw-r--r--kicker/extensions/kasbar/kastasker.cpp2
-rw-r--r--kicker/extensions/kasbar/kastaskitem.cpp10
-rw-r--r--kicker/extensions/kasbar/kastaskitem.h2
-rw-r--r--kicker/extensions/kasbar/kastaskpopup.cpp2
19 files changed, 85 insertions, 85 deletions
diff --git a/kicker/extensions/kasbar/ChangeLog b/kicker/extensions/kasbar/ChangeLog
index 09408fc4a..ce43d0ba1 100644
--- a/kicker/extensions/kasbar/ChangeLog
+++ b/kicker/extensions/kasbar/ChangeLog
@@ -26,7 +26,7 @@
- Improved the about dialog.
- - Made masking of the containing toplevel optional.
+ - Made tqmasking of the containing toplevel optional.
- Fixed positioning of the clock display in small mode.
@@ -149,7 +149,7 @@
2004-09-03 Friday 22:32 rich
* - Added support for the XShape extension, the unused space is now
- masked so that when you have a non-rectangular bar (by using
+ tqmasked so that when you have a non-rectangular bar (by using
the 'Boxes per line' setting) the unused space is truly unused.
To make this better, I need to make it so that the box is
always populated from the screen edge outwards.
@@ -164,7 +164,7 @@
- Added a context menu item to attach and detach the bar.
- - Improved repaint performance.
+ - Improved tqrepaint performance.
- Increased version number.
@@ -211,7 +211,7 @@
* - Improved the handling of inactive desktop grouping.
- Fixed a problem with popups not being deleted when their
- associated item was invalidated.
+ associated item was tqinvalidated.
2004-08-07 Saturday 03:00 rich
@@ -436,7 +436,7 @@
2003-10-23 Thursday 21:41 bwalter
- * Use topLevelWidget() instead of parent()->parent()...
+ * Use tqtopLevelWidget() instead of parent()->parent()...
2003-10-22 Wednesday 22:15 bwalter
@@ -481,11 +481,11 @@
2003-09-30 Tuesday 22:25 rich
- * - More improvements to bg repainting (much more efficient).
+ * - More improvements to bg tqrepainting (much more efficient).
- Fixed startup animation problem #39582
- - Fixed erase problem introduced by the repaint changes in my
+ - Fixed erase problem introduced by the tqrepaint changes in my
last commit.
@@ -498,7 +498,7 @@
- Removed redundant reload of configuration info.
- Reworked painting - Double buffering is now handled by KasBar
- not the items. - Items now longer force an immediate repaint,
+ not the items. - Items now longer force an immediate tqrepaint,
they use update instead. - Fixes #53735
@@ -531,7 +531,7 @@
2003-03-29 Saturday 20:29 binner
- * Fixed a layout problem and solution for "only drawing last icon
+ * Fixed a tqlayout problem and solution for "only drawing last icon
from a group".
2003-02-09 Sunday 09:51 mfranz
@@ -608,7 +608,7 @@
2002-08-09 Friday 23:57 rich
- * - Fixed repaint problem with startup items
+ * - Fixed tqrepaint problem with startup items
2002-07-29 Monday 22:03 coolo
@@ -743,11 +743,11 @@
2001-07-17 Tuesday 19:59 rich
* Added some extra guards around KRootPixmap calls and readded the
- repaint I removed earlier
+ tqrepaint I removed earlier
2001-07-17 Tuesday 17:03 rich
- * Remove redundant repaint
+ * Remove redundant tqrepaint
2001-07-17 Tuesday 16:47 rich
@@ -818,7 +818,7 @@
2001-05-14 Monday 00:40 rich
* Added new about dialog Fixed some flicker problems Improved
- thumbnail heuristics Improved transparent mode repaints
+ thumbnail heuristics Improved transparent mode tqrepaints
2001-04-27 Friday 19:07 rich
@@ -916,7 +916,7 @@
2001-03-06 Tuesday 12:32 faure
- * ran includemocs to get this to compile (am_edit was trying to
+ * ran includetqmocs to get this to compile (am_edit was trying to
compile a .moc.cpp into a .moc ... there's still something fishy
in am_edit...)
@@ -929,7 +929,7 @@
2000-12-17 Sunday 12:00 elter
- * Fixed totally broken kasbar sizeHint.
+ * Fixed totally broken kasbar tqsizeHint.
2000-12-17 Sunday 11:53 elter
diff --git a/kicker/extensions/kasbar/DESIGN b/kicker/extensions/kasbar/DESIGN
index 6d2de25e6..c107a4cb6 100644
--- a/kicker/extensions/kasbar/DESIGN
+++ b/kicker/extensions/kasbar/DESIGN
@@ -13,7 +13,7 @@ The division of labour between the classes is like this:
* KasBar, KasItem, KasPopup
These classes implement the KasBar widget. KasBar provides the
- layout and smart redraws while the KasItem class is an abstract
+ tqlayout and smart redraws while the KasItem class is an abstract
interface for the items forming the bars contents. The KasPopup
class provides a self positioning widget that should be subclassed
to provide useful information.
diff --git a/kicker/extensions/kasbar/Doxyfile b/kicker/extensions/kasbar/Doxyfile
index 8c82cae8b..f0db9df8b 100644
--- a/kicker/extensions/kasbar/Doxyfile
+++ b/kicker/extensions/kasbar/Doxyfile
@@ -227,7 +227,7 @@ SORT_MEMBER_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
# The TAB_SIZE tag can be used to set the number of spaces in a tab.
-# Doxygen uses this value to replace tabs by spaces in code fragments.
+# Doxygen uses this value to tqreplace tabs by spaces in code fragments.
TAB_SIZE = 8
@@ -329,7 +329,7 @@ WARN_IF_DOC_ERROR = YES
# The WARN_FORMAT tag determines the format of the warning messages that
# doxygen can produce. The string should contain the $file, $line, and $text
-# tags, which will be replaced by the file and line number from which the
+# tags, which will be tqreplaced by the file and line number from which the
# warning originated and the warning text.
WARN_FORMAT = "$file:$line: $text"
@@ -351,7 +351,7 @@ WARN_LOGFILE =
INPUT = . ../../taskmanager
-# If the value of the INPUT tag contains directories, you can use the
+# If the value of the INPUT tag tqcontains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank the following patterns are tested:
@@ -370,14 +370,14 @@ RECURSIVE = NO
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
-EXCLUDE = *moc*
+EXCLUDE = *tqmoc*
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories
# that are symbolic links (a Unix filesystem feature) are excluded from the input.
EXCLUDE_SYMLINKS = NO
-# If the value of the INPUT tag contains directories, you can use the
+# If the value of the INPUT tag tqcontains directories, you can use the
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
# certain files from those directories.
@@ -389,7 +389,7 @@ EXCLUDE_PATTERNS =
EXAMPLE_PATH =
-# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# If the value of the EXAMPLE_PATH tag tqcontains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
@@ -468,7 +468,7 @@ VERBATIM_HEADERS = YES
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
# of all compounds will be generated. Enable this if the project
-# contains a lot of classes, structs, unions or interfaces.
+# tqcontains a lot of classes, structs, unions or interfaces.
ALPHABETICAL_INDEX = NO
@@ -704,7 +704,7 @@ RTF_HYPERLINKS = NO
# Load stylesheet definitions from file. Syntax is similar to doxygen's
# config file, i.e. a series of assigments. You only have to provide
-# replacements, missing definitions are set to their default value.
+# tqreplacements, missing definitions are set to their default value.
RTF_STYLESHEET_FILE =
diff --git a/kicker/extensions/kasbar/kasbar.cpp b/kicker/extensions/kasbar/kasbar.cpp
index bf2b64ba3..4175f01b7 100644
--- a/kicker/extensions/kasbar/kasbar.cpp
+++ b/kicker/extensions/kasbar/kasbar.cpp
@@ -93,7 +93,7 @@ KasBar::KasBar( Orientation o, TQWidget *parent, const char *name, WFlags f )
rootPix( 0 ),
enableTint_( false ),
tintAmount_( 0.1 ),
- tintColour_( colorGroup().mid() ),
+ tintColour_( tqcolorGroup().mid() ),
useMask_( true ),
res(0)
{
@@ -102,7 +102,7 @@ KasBar::KasBar( Orientation o, TQWidget *parent, const char *name, WFlags f )
setMouseTracking( true );
setMaxBoxes( 0 );
- connect( this, TQT_SIGNAL( configChanged() ), TQT_SLOT( repaint() ) );
+ connect( this, TQT_SIGNAL( configChanged() ), TQT_SLOT( tqrepaint() ) );
}
KasBar::KasBar( Orientation o, KasBar *master, TQWidget *parent, const char *name, WFlags f )
@@ -122,7 +122,7 @@ KasBar::KasBar( Orientation o, KasBar *master, TQWidget *parent, const char *nam
rootPix( 0 ),
enableTint_( false ),
tintAmount_( 0.1 ),
- tintColour_( colorGroup().mid() ),
+ tintColour_( tqcolorGroup().mid() ),
useMask_( true ),
res(0)
{
@@ -130,7 +130,7 @@ KasBar::KasBar( Orientation o, KasBar *master, TQWidget *parent, const char *nam
items.setAutoDelete( true );
setMouseTracking( true );
setMaxBoxes( 0 );
- connect( master_, TQT_SIGNAL( configChanged() ), TQT_SLOT( repaint() ) );
+ connect( master_, TQT_SIGNAL( configChanged() ), TQT_SLOT( tqrepaint() ) );
}
KasBar::~KasBar()
@@ -255,7 +255,7 @@ void KasBar::setTint( bool enable )
}
emit configChanged();
- repaint( true );
+ tqrepaint( true );
}
}
@@ -269,7 +269,7 @@ void KasBar::setTint( double amount, TQColor color )
emit configChanged();
if ( rootPix->isAvailable() )
- rootPix->repaint( true );
+ rootPix->tqrepaint( true );
}
}
@@ -375,7 +375,7 @@ void KasBar::setDetached( bool detach )
emit detachedChanged( detached );
}
-TQSize KasBar::sizeHint( Orientation o, TQSize sz )
+TQSize KasBar::tqsizeHint( Orientation o, TQSize sz )
{
if ( o == Horizontal )
setBoxesPerLine( sz.width() / itemExtent() );
@@ -416,7 +416,7 @@ void KasBar::updateLayout()
bool updates = isUpdatesEnabled();
setUpdatesEnabled( false );
-// This is for testing a rectangular layout
+// This is for testing a rectangular tqlayout
// boxesPerLine_ = (uint) ceil(sqrt( items.count() ));
// Work out the number of rows and columns
@@ -445,8 +445,8 @@ void KasBar::updateLayout()
setUpdatesEnabled( updates );
- TQWidget *top = topLevelWidget();
- TQRegion mask;
+ TQWidget *top = tqtopLevelWidget();
+ TQRegion tqmask;
KasItem *i;
if ( orient == Horizontal ) {
@@ -458,7 +458,7 @@ void KasBar::updateLayout()
i->setPos( x, (items.at() / c) * itemExtent() );
i->update();
- mask = mask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
+ tqmask = tqmask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
}
}
else {
@@ -470,12 +470,12 @@ void KasBar::updateLayout()
i->setPos( (items.at() % r) * itemExtent(), y );
i->update();
- mask = mask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
+ tqmask = tqmask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
}
}
if ( useMask_ )
- top->setMask( mask );
+ top->setMask( tqmask );
else
top->clearMask();
update();
@@ -622,7 +622,7 @@ void KasBar::resizeEvent(TQResizeEvent *ev)
TQPainter p( &offscreen );
paintBackground( &p, TQRect(TQPoint(0,0),size()) );
TQWidget::resizeEvent(ev);
- emit layoutChanged();
+ emit tqlayoutChanged();
}
@@ -646,7 +646,7 @@ void KasBar::updateItem( KasItem *i )
update( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ) );
}
-void KasBar::repaintItem(KasItem *i, bool erase )
+void KasBar::tqrepaintItem(KasItem *i, bool erase )
{
if ( !i )
return;
@@ -658,7 +658,7 @@ void KasBar::repaintItem(KasItem *i, bool erase )
paintBackground( &p, TQRect( pos, TQSize( itemExtent(), itemExtent() ) ) );
i->paint( &p, pos.x(), pos.y() );
- repaint( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ), transparent_ || erase );
+ tqrepaint( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ), transparent_ || erase );
}
KasItem* KasBar::itemAt(const TQPoint &p)
@@ -670,7 +670,7 @@ KasItem* KasBar::itemAt(const TQPoint &p)
cr.setTopLeft( i->pos() );
cr.setSize( TQSize( itemExtent(), itemExtent() ) );
- if(cr.contains(p))
+ if(cr.tqcontains(p))
return i;
}
@@ -687,12 +687,12 @@ void KasBar::setBackground( const TQPixmap &newBg )
updateLayout();
}
-void KasBar::setMasked( bool mask )
+void KasBar::setMasked( bool tqmask )
{
- if ( useMask_ == mask )
+ if ( useMask_ == tqmask )
return;
- useMask_ = mask;
+ useMask_ = tqmask;
}
void KasBar::setPaintInactiveFrames( bool enable )
diff --git a/kicker/extensions/kasbar/kasbar.h b/kicker/extensions/kasbar/kasbar.h
index 8ff745475..4cd10dc7c 100644
--- a/kicker/extensions/kasbar/kasbar.h
+++ b/kicker/extensions/kasbar/kasbar.h
@@ -84,7 +84,7 @@ class KDE_EXPORT KasBar : public QWidget
Q_PROPERTY( uint boxesPerLine READ boxesPerLine )
Q_PROPERTY( Direction direction READ direction )
Q_PROPERTY( Orientation orientation READ orientation )
- Q_PROPERTY( bool masked READ isMasked )
+ Q_PROPERTY( bool tqmasked READ isMasked )
Q_ENUMS( Direction )
friend class KasItem;
@@ -152,7 +152,7 @@ public:
bool isDrag() const { return inDrag; }
- TQSize sizeHint( Orientation, TQSize max );
+ TQSize tqsizeHint( Orientation, TQSize max );
//
// Look and feel options
@@ -188,7 +188,7 @@ public:
void updateItem( KasItem *i );
/** Redraws the specified item. */
- void repaintItem(KasItem *i, bool erase = true );
+ void tqrepaintItem(KasItem *i, bool erase = true );
/** Returns the item at p or 0. */
KasItem* itemAt(const TQPoint &p);
@@ -229,7 +229,7 @@ public slots:
void setBackground( const TQPixmap &pix );
- void setMasked( bool mask );
+ void setMasked( bool tqmask );
void setPaintInactiveFrames( bool enable );
@@ -251,7 +251,7 @@ signals:
void directionChanged();
/** Emitted when kasbar wants to resize. This happens when a new window is added. */
- void layoutChanged();
+ void tqlayoutChanged();
/** Emitted when the item size is changed. */
void itemSizeChanged( int );
@@ -279,7 +279,7 @@ protected:
/** Calls the paint methods for the items in the rectangle specified by the event. */
void paintEvent(TQPaintEvent *ev);
- /** Forces the widget to re-layout it's contents. */
+ /** Forces the widget to re-tqlayout it's contents. */
void resizeEvent(TQResizeEvent *ev);
private:
diff --git a/kicker/extensions/kasbar/kasbarextension.cpp b/kicker/extensions/kasbar/kasbarextension.cpp
index 3bc3dcd1b..14f1b02f1 100644
--- a/kicker/extensions/kasbar/kasbarextension.cpp
+++ b/kicker/extensions/kasbar/kasbarextension.cpp
@@ -97,7 +97,7 @@ KasBarExtension::KasBarExtension( const TQString& configFile,
// setBackgroundMode( NoBackground );
kasbar = new KasTasker( orientation(), this, name );
- connect( kasbar, TQT_SIGNAL( layoutChanged() ), this, TQT_SIGNAL( updateLayout() ) );
+ connect( kasbar, TQT_SIGNAL( tqlayoutChanged() ), this, TQT_SIGNAL( updateLayout() ) );
connect( kasbar, TQT_SIGNAL( detachedChanged(bool) ), this, TQT_SLOT( setDetached(bool) ) );
kasbar->setConfig( config() );
@@ -141,7 +141,7 @@ void KasBarExtension::showEvent( TQShowEvent */*se*/ )
{
updateGeometry();
resize( kasbar->size() );
- repaint( true );
+ tqrepaint( true );
}
TQSize KasBarExtension::detachedSize()
@@ -153,7 +153,7 @@ TQSize KasBarExtension::detachedSize()
}
-TQSize KasBarExtension::sizeHint(Position p, TQSize maxSize ) const
+TQSize KasBarExtension::tqsizeHint(Position p, TQSize maxSize ) const
{
Orientation o = Horizontal;
@@ -167,7 +167,7 @@ TQSize KasBarExtension::sizeHint(Position p, TQSize maxSize ) const
return TQSize( 0, kasbar->itemExtent()/2 );
}
- return kasbar->sizeHint( o, maxSize );
+ return kasbar->tqsizeHint( o, maxSize );
}
void KasBarExtension::positionChange( Position /* position */)
diff --git a/kicker/extensions/kasbar/kasbarextension.h b/kicker/extensions/kasbar/kasbarextension.h
index 7fbb4fbc6..e5e3142df 100644
--- a/kicker/extensions/kasbar/kasbarextension.h
+++ b/kicker/extensions/kasbar/kasbarextension.h
@@ -76,7 +76,7 @@ public:
virtual ~KasBarExtension();
- TQSize sizeHint( Position, TQSize maxSize ) const;
+ TQSize tqsizeHint( Position, TQSize maxSize ) const;
Position preferedPosition() const { return Right; }
virtual void positionChange( Position position );
diff --git a/kicker/extensions/kasbar/kasclockitem.cpp b/kicker/extensions/kasbar/kasclockitem.cpp
index f025af857..f5fbe25b0 100644
--- a/kicker/extensions/kasbar/kasclockitem.cpp
+++ b/kicker/extensions/kasbar/kasclockitem.cpp
@@ -45,7 +45,7 @@ KasClockItem::KasClockItem( KasBar *parent )
lcd = new LCD( parent );
lcd->hide();
- lcd->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
+ lcd->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
lcd->setBackgroundMode( NoBackground );
lcd->setFrameStyle( TQFrame::NoFrame );
lcd->setSegmentStyle( TQLCDNumber::Flat );
@@ -75,7 +75,7 @@ KasPopup *KasClockItem::createPopup()
void KasClockItem::updateTime()
{
- setText( KGlobal::locale()->formatDate( TQDate::currentDate(), true /* shortFormat */ ) );
+ setText( KGlobal::locale()->formatDate( TQDate::tqcurrentDate(), true /* shortFormat */ ) );
lcd->display( KGlobal::locale()->formatTime( TQTime::currentTime(), false /* includeSecs */, false /* isDuration */) );
update();
@@ -89,7 +89,7 @@ void KasClockItem::paint( TQPainter *p )
p->save();
p->translate( 3, 15 );
- lcd->setPaletteForegroundColor( kasbar()->colorGroup().mid() );
+ lcd->setPaletteForegroundColor( kasbar()->tqcolorGroup().mid() );
lcd->draw( p );
p->restore();
diff --git a/kicker/extensions/kasbar/kasgroupitem.cpp b/kicker/extensions/kasbar/kasgroupitem.cpp
index 6e03e8e3c..a86c08303 100644
--- a/kicker/extensions/kasbar/kasgroupitem.cpp
+++ b/kicker/extensions/kasbar/kasgroupitem.cpp
@@ -83,8 +83,8 @@ KasGroupItem::KasGroupItem( KasTasker *parent )
setGroupItem( true );
setText( i18n("Group") );
- connect( parent, TQT_SIGNAL( layoutChanged() ), this, TQT_SLOT( hidePopup() ) );
- connect( parent, TQT_SIGNAL( layoutChanged() ), this, TQT_SLOT( update() ) );
+ connect( parent, TQT_SIGNAL( tqlayoutChanged() ), this, TQT_SLOT( hidePopup() ) );
+ connect( parent, TQT_SIGNAL( tqlayoutChanged() ), this, TQT_SLOT( update() ) );
connect( this, TQT_SIGNAL(leftButtonClicked(TQMouseEvent *)), TQT_SLOT(togglePopup()) );
connect( this, TQT_SIGNAL(rightButtonClicked(TQMouseEvent *)), TQT_SLOT(showGroupMenuAt(TQMouseEvent *) ) );
}
diff --git a/kicker/extensions/kasbar/kasitem.cpp b/kicker/extensions/kasbar/kasitem.cpp
index 8fd795363..1ed9b2ed9 100644
--- a/kicker/extensions/kasbar/kasitem.cpp
+++ b/kicker/extensions/kasbar/kasitem.cpp
@@ -301,7 +301,7 @@ void KasItem::paintFrame( TQPainter *p )
if ( !frame )
return;
- qDrawShadePanel(p, 0, 0, extent(), extent(), colorGroup(), false, 2);
+ qDrawShadePanel(p, 0, 0, extent(), extent(), tqcolorGroup(), false, 2);
TQPen pen;
@@ -547,15 +547,15 @@ void KasItem::paint( TQPainter *p, int x, int y )
p->restore();
}
-void KasItem::repaint()
+void KasItem::tqrepaint()
{
- repaint( true );
+ tqrepaint( true );
}
-void KasItem::repaint( bool erase )
+void KasItem::tqrepaint( bool erase )
{
if ( kas->isVisible() )
- kas->repaintItem( this, erase );
+ kas->tqrepaintItem( this, erase );
}
void KasItem::update()
diff --git a/kicker/extensions/kasbar/kasitem.h b/kicker/extensions/kasbar/kasitem.h
index c16a5f6d3..61efc85e9 100644
--- a/kicker/extensions/kasbar/kasitem.h
+++ b/kicker/extensions/kasbar/kasitem.h
@@ -170,8 +170,8 @@ public:
void paintModified( TQPainter *p );
public slots:
- void repaint();
- void repaint( bool erase );
+ void tqrepaint();
+ void tqrepaint( bool erase );
void update();
void setActive( bool yes );
@@ -217,7 +217,7 @@ protected:
TQFontMetrics fontMetrics() const { return kas->fontMetrics(); }
/** Gets the color group from the parent. */
- const TQColorGroup &colorGroup() const { return kas->colorGroup(); }
+ const TQColorGroup &tqcolorGroup() const { return kas->tqcolorGroup(); }
/** Factory method that creates a popup widget for the item. */
virtual KasPopup *createPopup();
diff --git a/kicker/extensions/kasbar/kasloaditem.cpp b/kicker/extensions/kasbar/kasloaditem.cpp
index 7b6939760..e36d2d18d 100644
--- a/kicker/extensions/kasbar/kasloaditem.cpp
+++ b/kicker/extensions/kasbar/kasloaditem.cpp
@@ -95,7 +95,7 @@ void KasLoadItem::paint( TQPainter *p )
KasItem::paint( p );
- TQColor light = kasbar()->colorGroup().highlight();
+ TQColor light = kasbar()->tqcolorGroup().highlight();
TQColor dark = light.dark();
KPixmap pix;
@@ -103,7 +103,7 @@ void KasLoadItem::paint( TQPainter *p )
KPixmapEffect::gradient( pix, light, dark, KPixmapEffect::DiagonalGradient );
p->drawPixmap( 2, extent()-2-h, pix );
- p->setPen( kasbar()->colorGroup().mid() );
+ p->setPen( kasbar()->tqcolorGroup().mid() );
for ( double pos = 0.2 ; pos < 1.0 ; pos += 0.2 ) {
int ypos = (int) floor((extent()-2) - (dh*maxValue*pos));
p->drawLine( 2, ypos, extent()-3, ypos );
diff --git a/kicker/extensions/kasbar/kaspopup.cpp b/kicker/extensions/kasbar/kaspopup.cpp
index 7538dfbb2..9dfe480f2 100644
--- a/kicker/extensions/kasbar/kaspopup.cpp
+++ b/kicker/extensions/kasbar/kaspopup.cpp
@@ -96,21 +96,21 @@ TQPoint KasPopup::calcPosition( KasItem *item, int w, int h )
int y = pos.y();
if ( kasbar->orientation() == Horizontal ) {
- if ( y < ( qApp->desktop()->height() / 2 ) )
+ if ( y < ( tqApp->desktop()->height() / 2 ) )
y = y + kasbar->itemExtent();
else
y = y - h;
- if ( (x + w) > qApp->desktop()->width() )
+ if ( (x + w) > tqApp->desktop()->width() )
x = x - w + kasbar->itemExtent();
}
else {
- if ( x < ( qApp->desktop()->width() / 2 ) )
+ if ( x < ( tqApp->desktop()->width() / 2 ) )
x = x + kasbar->itemExtent();
else
x = x - w;
- if ( (y + h) > qApp->desktop()->height() )
+ if ( (y + h) > tqApp->desktop()->height() )
y = y - h + kasbar->itemExtent();
}
diff --git a/kicker/extensions/kasbar/kasprefsdlg.cpp b/kicker/extensions/kasbar/kasprefsdlg.cpp
index e81b0aacb..8886f671d 100644
--- a/kicker/extensions/kasbar/kasprefsdlg.cpp
+++ b/kicker/extensions/kasbar/kasprefsdlg.cpp
@@ -408,7 +408,7 @@ void KasPrefsDialog::addAdvancedPage()
notifierCheck->setChecked( kasbar->notifierEnabled() );
connect( notifierCheck, TQT_SIGNAL( toggled(bool) ), kasbar, TQT_SLOT( setNotifierEnabled(bool) ) );
- // Status advanced
+ // tqStatus advanced
modifiedCheck = new TQCheckBox( i18n("Enable &modified indicator"), advancedPage );
TQWhatsThis::add( modifiedCheck,
i18n( "Enables the display of a floppy disk state icon for windows containing "
diff --git a/kicker/extensions/kasbar/kasresources.cpp b/kicker/extensions/kasbar/kasresources.cpp
index 78b25e8c0..3450b1549 100644
--- a/kicker/extensions/kasbar/kasresources.cpp
+++ b/kicker/extensions/kasbar/kasresources.cpp
@@ -308,7 +308,7 @@ KPixmap KasResources::activeBg()
if ( actBg.isNull() ) {
actBg.resize( kasbar->itemExtent(), kasbar->itemExtent() );
KPixmapEffect::gradient( actBg,
- kasbar->colorGroup().light(), kasbar->colorGroup().mid(),
+ kasbar->tqcolorGroup().light(), kasbar->tqcolorGroup().mid(),
KPixmapEffect::DiagonalGradient );
}
@@ -320,7 +320,7 @@ KPixmap KasResources::inactiveBg()
if ( inactBg.isNull() ) {
inactBg.resize( kasbar->itemExtent(), kasbar->itemExtent() );
KPixmapEffect::gradient( inactBg,
- kasbar->colorGroup().mid(), kasbar->colorGroup().dark(),
+ kasbar->tqcolorGroup().mid(), kasbar->tqcolorGroup().dark(),
KPixmapEffect::DiagonalGradient );
}
diff --git a/kicker/extensions/kasbar/kastasker.cpp b/kicker/extensions/kasbar/kastasker.cpp
index a087f40ff..bb36ae522 100644
--- a/kicker/extensions/kasbar/kastasker.cpp
+++ b/kicker/extensions/kasbar/kastasker.cpp
@@ -207,7 +207,7 @@ KPopupMenu *KasTasker::contextMenu()
if ( standalone_ ) {
menu->insertSeparator();
- menu->insertItem( SmallIcon("exit"), i18n("&Quit"), qApp, TQT_SLOT( quit() ) );
+ menu->insertItem( SmallIcon("exit"), i18n("&Quit"), tqApp, TQT_SLOT( quit() ) );
}
}
diff --git a/kicker/extensions/kasbar/kastaskitem.cpp b/kicker/extensions/kasbar/kastaskitem.cpp
index c9ec7bdd0..121e0f1eb 100644
--- a/kicker/extensions/kasbar/kastaskitem.cpp
+++ b/kicker/extensions/kasbar/kastaskitem.cpp
@@ -165,9 +165,9 @@ void KasTaskItem::checkAttention()
setAttention( task_->demandsAttention() );
}
-void KasTaskItem::updateTask(bool geometryChangeOnly)
+void KasTaskItem::updateTask(bool tqgeometryChangeOnly)
{
- if (geometryChangeOnly)
+ if (tqgeometryChangeOnly)
{
return;
}
@@ -422,7 +422,7 @@ TQWidget *KasTaskItem::createTaskProps( TQObject *target, TQWidget *parent, bool
taskprops->addColumn( i18n("Value") );
// Create List Items
- TQMetaObject *mo = target->metaObject();
+ TQMetaObject *mo = target->tqmetaObject();
for ( int i = 0; i < mo->numProperties( recursive ); i++ ) {
const TQMetaProperty *p = mo->property(i, recursive);
@@ -445,7 +445,7 @@ TQString KasTaskItem::expandMacros( const TQString &format, TQObject *data )
if ( pos >= 0 ) {
TQVariant val = data->property( re.cap(1).latin1() );
TQString v = val.asString();
- s.replace( pos, re.matchedLength(), v );
+ s.tqreplace( pos, re.matchedLength(), v );
pos = pos + v.length();
}
}
@@ -456,7 +456,7 @@ TQString KasTaskItem::expandMacros( const TQString &format, TQObject *data )
TQWidget *KasTaskItem::createX11Props( TQWidget *parent )
{
TQVBox *vb2 = new TQVBox( parent );
- vb2->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
+ vb2->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
vb2->setSpacing( KDialog::spacingHint() );
vb2->setMargin( KDialog::marginHint() );
diff --git a/kicker/extensions/kasbar/kastaskitem.h b/kicker/extensions/kasbar/kastaskitem.h
index b2b166ef5..5118a4263 100644
--- a/kicker/extensions/kasbar/kastaskitem.h
+++ b/kicker/extensions/kasbar/kastaskitem.h
@@ -90,7 +90,7 @@ class KasTaskItem : public KasItem
TQString expandMacros( const TQString &format, TQObject *data );
public slots:
- void updateTask(bool geometryChangeOnly);
+ void updateTask(bool tqgeometryChangeOnly);
/** Create a thumbnail for this task (does nothing if they're disabled). */
void refreshThumbnail();
diff --git a/kicker/extensions/kasbar/kastaskpopup.cpp b/kicker/extensions/kasbar/kastaskpopup.cpp
index 25c096a65..9a59e1603 100644
--- a/kicker/extensions/kasbar/kastaskpopup.cpp
+++ b/kicker/extensions/kasbar/kastaskpopup.cpp
@@ -91,7 +91,7 @@ KasTaskPopup::KasTaskPopup( KasTaskItem *item, const char *name )
}
KPixmapEffect::gradient( titleBg,
- Qt::black, colorGroup().mid(),
+ Qt::black, tqcolorGroup().mid(),
KPixmapEffect::DiagonalGradient );
connect( item->task(), TQT_SIGNAL( thumbnailChanged() ), TQT_SLOT( refresh() ) );