summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:15:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:15:26 -0600
commited6f377136e3ee497d97e76873d0869846dba888 (patch)
tree90d880dd1ff6116306e369ead781153825dff8b5
parent7d07294e82b3eb432ae53752adb84b909211ac57 (diff)
downloadtwin-style-crystal-ed6f377136e3ee497d97e76873d0869846dba888.tar.gz
twin-style-crystal-ed6f377136e3ee497d97e76873d0869846dba888.zip
Rename old tq methods that no longer need a unique name
-rw-r--r--client/config/configdialog.ui28
-rw-r--r--client/config/infodialog.ui8
-rw-r--r--client/crystalbutton.cpp4
-rw-r--r--client/crystalbutton.h2
-rw-r--r--client/crystalclient.cc6
-rw-r--r--client/crystalclient.h2
-rw-r--r--client/imageholder.cpp8
-rw-r--r--client/myrootpixmap.cc2
-rw-r--r--pics/embedtool.cpp2
9 files changed, 31 insertions, 31 deletions
diff --git a/client/config/configdialog.ui b/client/config/configdialog.ui
index f14443d..990701d 100644
--- a/client/config/configdialog.ui
+++ b/client/config/configdialog.ui
@@ -64,7 +64,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -253,7 +253,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -305,7 +305,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
@@ -357,7 +357,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
@@ -497,7 +497,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
@@ -580,7 +580,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -1300,7 +1300,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -1429,7 +1429,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
@@ -1588,7 +1588,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -1697,7 +1697,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -1889,13 +1889,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>30</width>
<height>30</height>
@@ -1939,7 +1939,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -2080,7 +2080,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/client/config/infodialog.ui b/client/config/infodialog.ui
index fbf1bf7..00d0c1b 100644
--- a/client/config/infodialog.ui
+++ b/client/config/infodialog.ui
@@ -54,13 +54,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>20</height>
@@ -158,13 +158,13 @@ You may look for the most recent version at kde-look.org:</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>20</height>
diff --git a/client/crystalbutton.cpp b/client/crystalbutton.cpp
index 51d366e..0834954 100644
--- a/client/crystalbutton.cpp
+++ b/client/crystalbutton.cpp
@@ -62,7 +62,7 @@ void CrystalButton::setBitmap(ButtonImage *newimage)
tqrepaint(false);
}
-TQSize CrystalButton::tqsizeHint() const
+TQSize CrystalButton::sizeHint() const
{
return TQSize(buttonSizeH(),buttonSizeV());
}
@@ -177,7 +177,7 @@ void CrystalButton::drawButton(TQPainter *painter)
pufferPainter.drawPixmap(TQPoint(0,0),*background,r);
}else{
- group = client_->options()->tqcolorGroup(KDecoration::ColorTitleBar, client_->isActive());
+ group = client_->options()->colorGroup(KDecoration::ColorTitleBar, client_->isActive());
pufferPainter.fillRect(rect(), group.background());
}
diff --git a/client/crystalbutton.h b/client/crystalbutton.h
index 84f967e..0338688 100644
--- a/client/crystalbutton.h
+++ b/client/crystalbutton.h
@@ -41,7 +41,7 @@ public:
virtual ~CrystalButton();
void setBitmap(ButtonImage *newimage);
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
int lastMousePress() const { return lastmouse_; }
void reset() { tqrepaint(false); }
void setFirstLast(bool vfirst,bool vlast) { first|=vfirst; last|=vlast; }
diff --git a/client/crystalclient.cc b/client/crystalclient.cc
index 6c54f38..733ab46 100644
--- a/client/crystalclient.cc
+++ b/client/crystalclient.cc
@@ -1095,9 +1095,9 @@ void CrystalClient::resize(const TQSize &size)
widget()->resize(size);
}
-TQSize CrystalClient::tqminimumSize() const
+TQSize CrystalClient::minimumSize() const
{
- return widget()->tqminimumSize();
+ return widget()->minimumSize();
}
KDecoration::Position CrystalClient::mousePosition(const TQPoint &point) const
@@ -1260,7 +1260,7 @@ void CrystalClient::paintEvent(TQPaintEvent*)
TQPainter painter(widget());
// draw the titlebar
- group = options()->tqcolorGroup(KDecoration::ColorTitleBar, isActive());
+ group = options()->colorGroup(KDecoration::ColorTitleBar, isActive());
WND_CONFIG* wndcfg=(isActive()?&::factory->active:&::factory->inactive);
if (::factory->transparency && ::factory->trackdesktop)
diff --git a/client/crystalclient.h b/client/crystalclient.h
index 672a743..27c3629 100644
--- a/client/crystalclient.h
+++ b/client/crystalclient.h
@@ -161,7 +161,7 @@ public:
virtual void borders(int &l, int &r, int &t, int &b) const;
virtual void resize(const TQSize &size);
- virtual TQSize tqminimumSize() const;
+ virtual TQSize minimumSize() const;
virtual Position mousePosition(const TQPoint &point) const;
void ClientWindows(Window* frame,Window* wrapper,Window* client);
diff --git a/client/imageholder.cpp b/client/imageholder.cpp
index 4d026cf..b963204 100644
--- a/client/imageholder.cpp
+++ b/client/imageholder.cpp
@@ -63,12 +63,12 @@ void QImageHolder::setUserdefinedPictures( TQImage act,TQImage inact)
if (!act.isNull())
{
act=act.smoothScale(w,h);
- img_active=ApplyEffect(act,&::factory->active,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, true));
+ img_active=ApplyEffect(act,&::factory->active,factory->options()->colorGroup(KDecoration::ColorTitleBar, true));
}else img_active=NULL;
if (!inact.isNull())
{
inact=inact.smoothScale(w,h);
- img_inactive=ApplyEffect(inact,&::factory->inactive,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, false));
+ img_inactive=ApplyEffect(inact,&::factory->inactive,factory->options()->colorGroup(KDecoration::ColorTitleBar, false));
}else img_inactive=NULL;
userdefinedActive=(img_active!=NULL);
@@ -160,11 +160,11 @@ void QImageHolder::BackgroundUpdated(const TQImage *src)
TQImage tmp=src->copy();
if (!userdefinedInactive)
- img_inactive=ApplyEffect(tmp,&::factory->inactive,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, false));
+ img_inactive=ApplyEffect(tmp,&::factory->inactive,factory->options()->colorGroup(KDecoration::ColorTitleBar, false));
tmp=src->copy();
if (!userdefinedActive)
- img_active=ApplyEffect(tmp,&::factory->active,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, true));
+ img_active=ApplyEffect(tmp,&::factory->active,factory->options()->colorGroup(KDecoration::ColorTitleBar, true));
}
emit repaintNeeded();
diff --git a/client/myrootpixmap.cc b/client/myrootpixmap.cc
index 7100099..c6034f1 100644
--- a/client/myrootpixmap.cc
+++ b/client/myrootpixmap.cc
@@ -59,7 +59,7 @@ void KMyRootPixmap::init()
connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool)));
// connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(tqrepaint()));
-// d->toplevel = m_pWidget->tqtopLevelWidget();
+// d->toplevel = m_pWidget->topLevelWidget();
// d->toplevel->installEventFilter(this);
}
diff --git a/pics/embedtool.cpp b/pics/embedtool.cpp
index c1712b9..9466dce 100644
--- a/pics/embedtool.cpp
+++ b/pics/embedtool.cpp
@@ -64,7 +64,7 @@ private:
nVIDIAEmbedder::nVIDIAEmbedder()
{
- TQDateTime date( TQDateTime::tqcurrentDateTime() );
+ TQDateTime date( TQDateTime::currentDateTime() );
TQString datestring( date.toString() );
// file = new TQFile( "tiles.h" );