Revert "Rename a number of old tq methods that are no longer tq specific"

This reverts commit bc35492ff8.
pull/1/head
Timothy Pearson 13 years ago
parent bc35492ff8
commit 3b68f156c6

@ -21,7 +21,7 @@ SQ_BCGLabel::SQ_BCGLabel(TQWidget *parent, const char *name, WFlags f) : TQLabel
{
setScaledContents(false);
setAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
tqsetAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
}
SQ_BCGLabel::~SQ_BCGLabel()

@ -98,7 +98,7 @@ TQString SQ_Converter::adjustFileName(const TQString &globalprefix, const TQStri
TQString result, inner, filter = lw->filter;
TQString ext = ff.extension(false);
TQString prefix, suffix, name2 = name;
TQString spage = TQString::fromLatin1("page_%1.").arg((TQString::fromLatin1("%1").arg(page)).rightJustify(3, '0'));
TQString spage = TQString::tqfromLatin1("page_%1.").tqarg((TQString::tqfromLatin1("%1").tqarg(page)).rightJustify(3, '0'));
if(!putto.isEmpty())
{
@ -110,7 +110,7 @@ TQString SQ_Converter::adjustFileName(const TQString &globalprefix, const TQStri
prefix.truncate(name2.length() - ext.length());
suffix = (SQ_LibraryHandler::instance()->knownExtension(TQString::fromLatin1("*.") + ext))
suffix = (SQ_LibraryHandler::instance()->knownExtension(TQString::tqfromLatin1("*.") + ext))
? TQString(lw->codec->extension(32)) : ext;
if(replace == 0 || replace == 2)
@ -121,7 +121,7 @@ TQString SQ_Converter::adjustFileName(const TQString &globalprefix, const TQStri
if(TQFile::exists(result))
{
inner = TQString::fromLatin1("1.");
inner = TQString::tqfromLatin1("1.");
result = (!paged) ? (prefix + inner + suffix) : (prefix + spage + inner + suffix);
}
}

@ -114,7 +114,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout6</cstring>
<cstring>tqlayout6</cstring>
</property>
<hbox>
<property name="name">
@ -152,7 +152,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout5</cstring>
<cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@ -190,7 +190,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<hbox>
<property name="name">
@ -322,7 +322,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@ -357,7 +357,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -392,7 +392,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout3</cstring>
<cstring>tqlayout3</cstring>
</property>
<hbox>
<property name="name">
@ -491,7 +491,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -508,7 +508,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -519,7 +519,7 @@
<property name="name">
<cstring>text</cstring>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignCenter</set>
</property>
</widget>
@ -535,7 +535,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -544,7 +544,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout8</cstring>
<cstring>tqlayout8</cstring>
</property>
<hbox>
<property name="name">
@ -560,7 +560,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>249</width>
<height>21</height>
@ -615,7 +615,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
@ -624,7 +624,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1">
<property name="name">
<cstring>layout15</cstring>
<cstring>tqlayout15</cstring>
</property>
<grid>
<property name="name">
@ -640,7 +640,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -665,7 +665,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -684,7 +684,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>
@ -709,7 +709,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -728,7 +728,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@ -40,7 +40,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>237</width>
<height>20</height>
@ -149,7 +149,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>26</width>
<height>155</height>

@ -111,7 +111,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -147,7 +147,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>260</width>
<height>16</height>

@ -82,7 +82,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>40</height>
@ -120,7 +120,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
@ -166,7 +166,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>45</height>
@ -207,7 +207,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -221,7 +221,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>26</height>
@ -251,7 +251,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>30</height>
@ -289,7 +289,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>30</height>
@ -338,7 +338,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -352,7 +352,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>14</height>
@ -390,7 +390,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>10</height>
@ -452,7 +452,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>10</width>
<height>11</height>
@ -514,7 +514,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>25</height>
@ -552,7 +552,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>14</height>
@ -572,7 +572,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -694,7 +694,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>35</height>
@ -740,7 +740,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>21</width>
<height>10</height>
@ -786,7 +786,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>10</height>
@ -832,7 +832,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>60</height>
@ -870,7 +870,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>35</height>
@ -943,7 +943,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>41</height>
@ -973,7 +973,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>25</height>
@ -1011,7 +1011,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>75</height>
@ -1052,7 +1052,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -1066,7 +1066,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>113</height>
@ -1104,7 +1104,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>71</height>
@ -1124,7 +1124,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -1133,7 +1133,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -1149,7 +1149,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>285</width>
<height>16</height>
@ -1316,7 +1316,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>140</width>
<height>0</height>
@ -1333,7 +1333,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -1342,7 +1342,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<grid>
<property name="name">
@ -1360,7 +1360,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>
@ -1385,7 +1385,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -1402,7 +1402,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -1421,7 +1421,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>
@ -1438,7 +1438,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>

@ -20,7 +20,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>250</width>
<height>0</height>
@ -75,7 +75,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>10</height>
@ -145,7 +145,7 @@
<property name="text">
<string>&lt;i&gt;No special options available for this format&lt;/i&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop|AlignHCenter</set>
</property>
<property name="indent">

@ -22,7 +22,7 @@
#include <tqpushbutton.h>
#include <tqlistview.h>
#include <tqlabel.h>
#include <layout.h>
#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include "./klc.ui.h"
@ -38,17 +38,17 @@ KLC::KLC( TQWidget* parent, const char* name, WFlags fl )
setName( "KLC" );
KLCLayout = new TQGridLayout( this, 1, 1, 11, 6, "KLCLayout");
layout1 = new TQHBoxLayout( 0, 0, 6, "layout1");
tqlayout1 = new TQHBoxLayout( 0, 0, 6, "tqlayout1");
spacer1 = new TQSpacerItem( 371, 26, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
layout1->addItem( spacer1 );
tqlayout1->addItem( spacer1 );
pushApply = new TQPushButton( this, "pushApply" );
layout1->addWidget( pushApply );
tqlayout1->addWidget( pushApply );
pushClose = new TQPushButton( this, "pushClose" );
layout1->addWidget( pushClose );
tqlayout1->addWidget( pushClose );
KLCLayout->addMultiCellLayout( layout1, 2, 2, 0, 1 );
KLCLayout->addMultiCellLayout( tqlayout1, 2, 2, 0, 1 );
listDisabled = new TQListView( this, "listDisabled" );
listDisabled->addColumn( tr2i18n( "..." ) );
@ -74,7 +74,7 @@ KLC::KLC( TQWidget* parent, const char* name, WFlags fl )
KLCLayout->addWidget( listEnabled, 1, 0 );
languageChange();
resize( TQSize(586, 425).expandedTo(minimumSizeHint()) );
resize( TQSize(586, 425).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@ -37,7 +37,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>371</width>
<height>26</height>

@ -99,7 +99,7 @@ void KLC::slotNewItems(const KFileItemList &list)
{
KFileItemListIterator it(list);
KFileItem *fi;
TQString soname = TQString::fromLatin1(".so.%1").arg(SQ_KL_VER);
TQString soname = TQString::tqfromLatin1(".so.%1").tqarg(SQ_KL_VER);
while((fi = it.current()))
{

@ -33,7 +33,7 @@
#include <tqtoolbutton.h>
#include <tqfileinfo.h>
#include <tqtimer.h>
#include <stylesheet.h>
#include <tqstylesheet.h>
#include <tqwidgetstack.h>
#include <kapplication.h>
@ -514,7 +514,7 @@ void KSquirrel::createWidgets(int createFirst)
m_urlbox = kconf->readBoolEntry("has_url", false);
// main TQVBox
mainPage = new TQVBox(this, TQString::fromLatin1("SQ_BROWSER_VBOX"));
mainPage = new TQVBox(this, TQString::tqfromLatin1("SQ_BROWSER_VBOX"));
mainPage->resize(size());
SQ_SplashScreen::advance();
@ -526,8 +526,8 @@ void KSquirrel::createWidgets(int createFirst)
tools = new KToolBar(mainPage);
// location toolbar
pTLocation = new KToolBar(mainPage, TQString::fromLatin1("Location toolbar"));
pTLocation->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum);
pTLocation = new KToolBar(mainPage, TQString::tqfromLatin1("Location toolbar"));
pTLocation->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum);
// main splitter
mainView = new TQSplitter(Qt::Horizontal, mainPage); Q_ASSERT(mainView);
@ -628,7 +628,7 @@ void KSquirrel::createWidgets(int createFirst)
void KSquirrel::createStatusBar(KStatusBar *bar)
{
sbar = bar;
sbar->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed);
sbar->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed);
sbar->setSizeGripEnabled(true);
sbar->show();
@ -642,9 +642,9 @@ void KSquirrel::createStatusBar(KStatusBar *bar)
fileIcon->setScaledContents(false);
// name of current file
fileName = new KSqueezedTextLabel(TQString::fromLatin1("----"), vb, "fileName");
fileName = new KSqueezedTextLabel(TQString::tqfromLatin1("----"), vb, "fileName");
fileName->setTextFormat(TQt::RichText);
fileName->setAlignment(TQt::AlignAuto | TQt::AlignVCenter | TQt::ExpandTabs);
fileName->tqsetAlignment(TQt::AlignAuto | TQt::AlignVCenter | TQt::ExpandTabs);
diskSpace = new TQLabel(TQString(), sbar, "diskSpace");
@ -823,7 +823,7 @@ void KSquirrel::createActions()
pASelectGroup = new KAction(i18n("Select group"), "viewmag+", CTRL+TQt::Key_Plus, 0, 0, actionCollection(), "SQ Select Group");
pADeselectGroup = new KAction(i18n("Deselect group"), "viewmag-", CTRL+TQt::Key_Minus, 0, 0, actionCollection(), "SQ Deselect Group");
const TQString thumbs_size__ = TQString::fromLatin1("thumbs_size__");
const TQString thumbs_size__ = TQString::tqfromLatin1("thumbs_size__");
pAThumb1->setExclusiveGroup(thumbs_size__);
pAThumb2->setExclusiveGroup(thumbs_size__);
pAThumb3->setExclusiveGroup(thumbs_size__);
@ -849,7 +849,7 @@ void KSquirrel::createActions()
pAThumbs->setDelayed(false);
TQString raise_some_widget_from_stack = TQString::fromLatin1("raise_some_widget_from_stack");
TQString raise_some_widget_from_stack = TQString::tqfromLatin1("raise_some_widget_from_stack");
pARaiseListView->setExclusiveGroup(raise_some_widget_from_stack);
pARaiseIconView->setExclusiveGroup(raise_some_widget_from_stack);
pARaiseDetailView->setExclusiveGroup(raise_some_widget_from_stack);
@ -1142,7 +1142,7 @@ void KSquirrel::createPostSplash()
TQLabel *pp = new TQLabel(hbox);
pp->setPalette(TQPalette(cc, cc));
pp->setAlignment(TQt::AlignCenter);
pp->tqsetAlignment(TQt::AlignCenter);
TQPixmap todo = TQPixmap::fromMimeSource(locate("data", "images/tray.png"));
@ -1154,7 +1154,7 @@ void KSquirrel::createPostSplash()
TQLabel *l = new TQLabel(i18n(" writing settings and thumbnails... "), hbox);
l->setPalette(TQPalette(cc, cc));
l->setAlignment(TQt::AlignLeft | TQt::AlignVCenter);
l->tqsetAlignment(TQt::AlignLeft | TQt::AlignVCenter);
hbox->setStretchFactor(pp, 0);
hbox->setStretchFactor(l, 1);
@ -1494,7 +1494,7 @@ void KSquirrel::slotOpenFileAndSet()
void KSquirrel::slotAnimatedClicked()
{
// invoke default browser
kapp->invokeBrowser(TQString::fromLatin1("http://ksquirrel.sourceforge.net/"));
kapp->invokeBrowser(TQString::tqfromLatin1("http://ksquirrel.sourceforge.net/"));
}
// Create SQ_ThumbnailCacheMaster, which can do something with thumbnails
@ -1748,7 +1748,7 @@ void KSquirrel::control(const TQString &command)
{
int id = it.data();
KAction *a = SQ_GLWidget::window()->actionCollection()->action(TQString::fromLatin1("action_%1").arg(id));
KAction *a = SQ_GLWidget::window()->actionCollection()->action(TQString::tqfromLatin1("action_%1").tqarg(id));
if(a) a->activate();
}
@ -2159,7 +2159,7 @@ void KSquirrel::slotRename()
TQString filename = TQStyleSheet::escape(renameSrcURL.filename());
TQString mNewFilename = KInputDialog::getText(i18n("Renaming File"),
i18n("<p>Rename file <b>%1</b> to:</p>").arg(filename),
i18n("<p>Rename file <b>%1</b> to:</p>").tqarg(filename),
renameSrcURL.filename(), &ok, this);
if(!ok) return;

@ -48,7 +48,7 @@ KSquirrelPart::KSquirrelPart(TQWidget *parentWidget, const char *,
ext = new KSquirrelPartBrowserExtension(this);
KGlobal::dirs()->addResourceType("data", KStandardDirs::kde_default("data") + TQString::fromLatin1("ksquirrel"));
KGlobal::dirs()->addResourceType("data", KStandardDirs::kde_default("data") + TQString::tqfromLatin1("ksquirrel"));
KGlobal::locale()->setActiveCatalogue(KSquirrelFactory::instance()->instanceName());
if(!SQ_ErrorString::instance())
@ -80,46 +80,46 @@ KSquirrelPart::KSquirrelPart(TQWidget *parentWidget, const char *,
KAction *a;
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_Plus));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_Plus));
new KAction(i18n("Zoom +"), "viewmag+", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart zoom in");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_Minus));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_Minus));
new KAction(i18n("Zoom -"), "viewmag-", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart zoom out");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_P));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_P));
new KAction(i18n("Properties"), "image", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart properties");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_R));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_R));
new KAction(i18n("Normalize"), "rebuild", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart normalize");
// colorize & filters
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_D));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_D));
new KAction(i18n("Color balance..."), "colorize", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart colorbalance");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_U));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_U));
new KAction(i18n("Apply filter..."), "effect", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart filter");
// rotate
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_Left+CTRL));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_Left+CTRL));
new KAction(i18n("Rotate left"), "rotate_ccw", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart rotateleft");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_Right+CTRL));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_Right+CTRL));
new KAction(i18n("Rotate right"), "rotate_cw", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart rotateright");
// copy/move
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_F5));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_F5));
new KAction(i18n("Copy to..."), "editcopy", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart copyto");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_F7));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_F7));
new KAction(i18n("Move to..."), "editcut", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart moveto");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_F6));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_F6));
new KAction(i18n("Copy to last folder"), "", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart copy");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_F8));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_F8));
new KAction(i18n("Move to last folder"), "", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart move");
a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_S));
a = gl->actionCollection()->action(TQString("action_%1").tqarg(TQt::Key_S));
new KAction(i18n("Save As..."), "filesaveas", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart saveas");
sa = new KSelectAction(i18n("Zoom"), 0, actionCollection(), "ksquirrelpart zoom");
@ -228,7 +228,7 @@ bool KSquirrelPart::openFile()
void KSquirrelPart::setKonquerorWindowCaption(const KURL &, const TQString &filename)
{
TQString caption = TQString("%1").arg(filename);
TQString caption = TQString("%1").tqarg(filename);
emit setWindowCaption(caption);
}

@ -21,7 +21,7 @@ SQ_BCGLabel::SQ_BCGLabel(TQWidget *parent, const char *name, WFlags f) : TQLabel
{
setScaledContents(false);
setAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
tqsetAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
}
SQ_BCGLabel::~SQ_BCGLabel()

@ -34,7 +34,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>16</width>
<height>16</height>
@ -101,7 +101,7 @@
</widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -117,7 +117,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -191,7 +191,7 @@
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="global" impldecl="in implementation">tqwidgetfactory.h</include>
<include location="global" impldecl="in implementation">tqspinbox.h</include>
<include location="global" impldecl="in implementation">textedit.h</include>
<include location="global" impldecl="in implementation">tqtextedit.h</include>
<include location="global" impldecl="in implementation">kurl.h</include>
<include location="global" impldecl="in implementation">kcolorbutton.h</include>
<include location="local" impldecl="in implementation">sq_codecsettingsskeleton.ui.h</include>

@ -25,7 +25,7 @@ void SQ_CodecSettingsSkeleton::addSettingsWidget(const TQString &path)
pushApply->setEnabled(false);
pushOK->setEnabled(false);
TQTextEdit *t = new TQTextEdit(i18n("Error loading widget from <b>%1</b>. Please check your installation or contact <a href=\"mailto:ksquirrel.iv@gmail.com\">ksquirrel.iv@gmail.com</a>").arg(path), TQString(), groupBox);
TQTextEdit *t = new TQTextEdit(i18n("Error loading widget from <b>%1</b>. Please check your installation or contact <a href=\"mailto:ksquirrel.iv@gmail.com\">ksquirrel.iv@gmail.com</a>").tqarg(path), TQString(), groupBox);
t->setReadOnly(true);
fake = t;
}

@ -30,7 +30,7 @@ SQ_ErrorString::SQ_ErrorString(TQObject *parent) : TQObject(parent)
m_instance = this;
// fill map with translated messages
messages.insert(SQE_OK, TQString::fromLatin1("OK"));
messages.insert(SQE_OK, TQString::tqfromLatin1("OK"));
messages.insert(SQE_R_NOFILE, i18n("cannot open file for reading"));
messages.insert(SQE_R_BADFILE, i18n("file corrupted"));
messages.insert(SQE_R_NOMEMORY, i18n("no memory"));

@ -171,7 +171,7 @@ void SQ_ExternalTool::slotAboutToShowMenu()
TQString file = KStringHandler::rsqueeze(item->name(), 30);
// finally, change title
TQString final = (items.count() == 1 || items.count() == 0) ? file : (file + TQString::fromLatin1(" (+%1)").arg(items.count()-1));
TQString final = (items.count() == 1 || items.count() == 0) ? file : (file + TQString::tqfromLatin1(" (+%1)").tqarg(items.count()-1));
menu->changeTitle(final);
}

@ -64,7 +64,7 @@ class SQ_GLSelectionPainter
void end();
/*
* Selected rectangle geometry
* Selected rectangle tqgeometry
*/
TQPoint pos() const;
TQSize size() const;

@ -491,10 +491,10 @@ void SQ_GLWidget::matrixChanged()
float z = (m < 1.0) ? 1.0/m : m;
// construct zoom
str = TQString::fromLatin1("%1% [%2:%3]")
.arg(fzoom, 0, 'f', 1)
.arg((m < 1.0)?1.0:z, 0, 'f', 1)
.arg((m > 1.0)?1.0:z, 0, 'f', 1);
str = TQString::tqfromLatin1("%1% [%2:%3]")
.tqarg(fzoom, 0, 'f', 1)
.tqarg((m < 1.0)?1.0:z, 0, 'f', 1)
.tqarg((m > 1.0)?1.0:z, 0, 'f', 1);
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBGLZoom")->setText(str);
@ -503,10 +503,10 @@ void SQ_GLWidget::matrixChanged()
#endif
// construct rotation angle
str = TQString::fromLatin1("%1%2 %3 deg")
.arg((tab->isflippedV)?"V":"")
.arg((tab->isflippedH)?"H":"")
.arg(tab->curangle, 0, 'f', 1);
str = TQString::tqfromLatin1("%1%2 %3 deg")
.tqarg((tab->isflippedV)?"V":"")
.tqarg((tab->isflippedH)?"H":"")
.tqarg(tab->curangle, 0, 'f', 1);
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBGLAngle")->setText(str);
@ -1273,7 +1273,7 @@ bool SQ_GLWidget::prepare()
if(!m_lib)
{
KMessageBox::error(this, i18n("Codec for %1 format not found").arg(tab->fmt_ext));
KMessageBox::error(this, i18n("Codec for %1 format not found").tqarg(tab->fmt_ext));
reset_mode = false;
tab = tabold;
return false;
@ -1515,7 +1515,7 @@ void SQ_GLWidget::decode()
{
KMessageBox::error(this,
i18n("Memory allocation failed for %1 of memory")
.arg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
.tqarg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
decodeFailedOn0(SQE_R_NOMEMORY);
return;
@ -1598,7 +1598,7 @@ void SQ_GLWidget::decode()
}
}
id = images->insertItem(TQString::fromLatin1("#%1 [%2x%3@%4]").arg(tab->current+1).arg(im->w).arg(im->h).arg(im->bpp));
id = images->insertItem(TQString::tqfromLatin1("#%1 [%2x%3@%4]").tqarg(tab->current+1).tqarg(im->w).tqarg(im->h).tqarg(im->bpp));
images->setItemParameter(id, tab->current);
@ -1655,7 +1655,7 @@ void SQ_GLWidget::paletteChange(const TQPalette &oldPalette)
if(SQ_Config::instance()->readNumEntry("GL view background type", 1) == 0)
{
TQColor color = colorGroup().color(TQColorGroup::Base);
TQColor color = tqcolorGroup().color(TQColorGroup::Base);
qglClearColor(color);
updateGL();
}

@ -66,7 +66,7 @@ namespace SQ_GLHelpers
/*
* normalize selection rectangle
* sx,sy are X and Y coordinates
* sw x sh is a selection geometry
* sw x sh is a selection tqgeometry
*/
bool normalizeSelection(int &sx, int &sy, int &sw, int &sh, int w, int h, const TQWMatrix&, int curangle, int orient);
}

@ -19,7 +19,7 @@
#include "config.h"
#endif
#include <clipboard.h>
#include <tqclipboard.h>
#include <tqslider.h>
#include <tqdragobject.h>
#include <tqtimer.h>
@ -91,14 +91,14 @@ void SQ_GLWidget::createActions()
pAFull = new KToggleAction(TQString(), 0, 0, 0, ac, "SQ GL Full");
TQString squirrel_zoom_actions = TQString::fromLatin1("squirrel_zoom_actions");
TQString squirrel_zoom_actions = TQString::tqfromLatin1("squirrel_zoom_actions");
pAZoomW->setExclusiveGroup(squirrel_zoom_actions);
pAZoomH->setExclusiveGroup(squirrel_zoom_actions);
pAZoomWH->setExclusiveGroup(squirrel_zoom_actions);
pAZoom100->setExclusiveGroup(squirrel_zoom_actions);
pAZoomLast->setExclusiveGroup(squirrel_zoom_actions);
TQString squirrel_selection_type = TQString::fromLatin1("squirrel_selection_type");
TQString squirrel_selection_type = TQString::tqfromLatin1("squirrel_selection_type");
pASelectionEllipse->setExclusiveGroup(squirrel_selection_type);
pASelectionRect->setExclusiveGroup(squirrel_selection_type);
@ -236,17 +236,17 @@ void SQ_GLWidget::slotProperties()
// save tab->current image parameters and some additioanl information
// in list
list << tab->quickImageInfo
<< TQString::fromLatin1("%1x%2").arg(tab->finfo.image[tab->current].w).arg(tab->finfo.image[tab->current].h)
<< TQString::fromLatin1("%1").arg(tab->finfo.image[tab->current].bpp)
<< TQString::tqfromLatin1("%1x%2").tqarg(tab->finfo.image[tab->current].w).tqarg(tab->finfo.image[tab->current].h)
<< TQString::tqfromLatin1("%1").tqarg(tab->finfo.image[tab->current].bpp)
<< tab->finfo.image[tab->current].colorspace
<< tab->finfo.image[tab->current].compression
<< sz
<< TQString::fromLatin1("%1").arg((double)real_size / tab->fmt_size, 0, 'f', 2)
<< TQString::tqfromLatin1("%1").tqarg((double)real_size / tab->fmt_size, 0, 'f', 2)
<< ((tab->finfo.image[tab->current].interlaced) ? i18n("yes") : i18n("no"))
<< TQString::fromLatin1("%1").arg(errors)
<< TQString::fromLatin1("%1").arg(tab->finfo.image.size())
<< TQString::fromLatin1("#%1").arg(tab->current+1)
<< TQString::fromLatin1("%1").arg(tab->finfo.image[tab->current].delay);
<< TQString::tqfromLatin1("%1").tqarg(errors)
<< TQString::tqfromLatin1("%1").tqarg(tab->finfo.image.size())
<< TQString::tqfromLatin1("#%1").tqarg(tab->current+1)
<< TQString::tqfromLatin1("%1").tqarg(tab->finfo.image[tab->current].delay);
// create dialog and setup it
SQ_ImageProperties prop(this);
@ -493,7 +493,7 @@ void SQ_GLWidget::saveAs()
if(!wlib || !wlib->writestatic)
{
KMessageBox::error(this, i18n("Sorry, could not perform write operation\nfor codec \"%1\"").arg(d.nameFilter()));
KMessageBox::error(this, i18n("Sorry, could not perform write operation\nfor codec \"%1\"").tqarg(d.nameFilter()));
return;
}
@ -644,9 +644,9 @@ void SQ_GLWidget::toClipboard()
// image doesn't have extra regions
if(tab->parts[tab->current].realw == tab->parts[tab->current].w && tab->parts[tab->current].realh == tab->parts[tab->current].h)
KApplication::clipboard()->setImage(im, TQClipboard::Clipboard);
KApplication::tqclipboard()->setImage(im, TQClipboard::Clipboard);
else
KApplication::clipboard()->setImage(im.copy(0, 0, tab->parts[tab->current].w, tab->parts[tab->current].h), TQClipboard::Clipboard);
KApplication::tqclipboard()->setImage(im.copy(0, 0, tab->parts[tab->current].w, tab->parts[tab->current].h), TQClipboard::Clipboard);
}
void SQ_GLWidget::bcg()
@ -867,7 +867,7 @@ void SQ_GLWidget::initAccelsAndMenu()
menu->insertItem(i18n("Image"), menuImage);
#define SQ_ADD_KACTION(b) \
(new KAction(TQString(), b, TQT_TQOBJECT(this), TQT_SLOT(slotAccelActivated()), ac, TQString::fromLatin1("action_%1").arg(b)))
(new KAction(TQString(), b, TQT_TQOBJECT(this), TQT_SLOT(slotAccelActivated()), ac, TQString::tqfromLatin1("action_%1").tqarg(b)))
id_saveas = menuFile->insertItem(SQ_IconLoader::instance()->loadIcon("filesaveas", KIcon::Desktop, KIcon::SizeSmall), i18n("Save As...") + "\tS", SQ_ADD_KACTION(TQt::Key_S), TQT_SLOT(activate()));
@ -900,13 +900,13 @@ void SQ_GLWidget::initAccelsAndMenu()
menuZoom->insertItem(i18n("Zoom 2x") + "\tCtrl++", SQ_ADD_KACTION(TQt::Key_Plus+CTRL), TQT_SLOT(activate()));
menuZoom->insertItem(i18n("Zoom 1/2x") + "\tCtrl+-", SQ_ADD_KACTION(TQt::Key_Minus+CTRL), TQT_SLOT(activate()));
menuZoom->insertSeparator();
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom10016.png")), TQString::fromLatin1("100%") + "\t1", SQ_ADD_KACTION(TQt::Key_1), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom20016.png")), TQString::fromLatin1("200%") + "\t2", SQ_ADD_KACTION(TQt::Key_2), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom30016.png")), TQString::fromLatin1("300%") + "\t3", SQ_ADD_KACTION(TQt::Key_3), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom50016.png")), TQString::fromLatin1("500%") + "\t5", SQ_ADD_KACTION(TQt::Key_5), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom70016.png")), TQString::fromLatin1("700%") + "\t7", SQ_ADD_KACTION(TQt::Key_7), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom90016.png")), TQString::fromLatin1("900%") + "\t9", SQ_ADD_KACTION(TQt::Key_9), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom100016.png")), TQString::fromLatin1("1000%") + "\t0", SQ_ADD_KACTION(TQt::Key_0), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom10016.png")), TQString::tqfromLatin1("100%") + "\t1", SQ_ADD_KACTION(TQt::Key_1), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom20016.png")), TQString::tqfromLatin1("200%") + "\t2", SQ_ADD_KACTION(TQt::Key_2), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom30016.png")), TQString::tqfromLatin1("300%") + "\t3", SQ_ADD_KACTION(TQt::Key_3), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom50016.png")), TQString::tqfromLatin1("500%") + "\t5", SQ_ADD_KACTION(TQt::Key_5), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom70016.png")), TQString::tqfromLatin1("700%") + "\t7", SQ_ADD_KACTION(TQt::Key_7), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom90016.png")), TQString::tqfromLatin1("900%") + "\t9", SQ_ADD_KACTION(TQt::Key_9), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom100016.png")), TQString::tqfromLatin1("1000%") + "\t0", SQ_ADD_KACTION(TQt::Key_0), TQT_SLOT(activate()));
menuMove->insertItem(TQPixmap(locate("data", "images/menu/moveLeft16.png")), i18n("Move left") + "\tRight", SQ_ADD_KACTION(TQt::Key_Right), TQT_SLOT(activate()));
menuMove->insertItem(TQPixmap(locate("data", "images/menu/moveRight16.png")), i18n("Move right") + "\tLeft", SQ_ADD_KACTION(TQt::Key_Left), TQT_SLOT(activate()));
@ -1224,7 +1224,7 @@ void SQ_GLWidget::crop()
{
KMessageBox::error(this,
i18n("Memory allocation failed for %1 of memory")
.arg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
.tqarg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
return;
}
@ -1312,7 +1312,7 @@ void SQ_GLWidget::slotChangeTab(int id)
for(;it != itEnd;++it, ++i)
{
mid = images->insertItem(TQString::fromLatin1("#%1 [%2x%3@%4]").arg(i+1).arg((*it).w).arg((*it).h).arg((*it).bpp));
mid = images->insertItem(TQString::tqfromLatin1("#%1 [%2x%3@%4]").tqarg(i+1).tqarg((*it).w).tqarg((*it).h).tqarg((*it).bpp));
images->setItemParameter(mid, i);
if(i == tab->current)
@ -1493,7 +1493,7 @@ void SQ_GLWidget::setClearColor()
{
// system color
case 0:
color = colorGroup().color(TQColorGroup::Base);
color = tqcolorGroup().color(TQColorGroup::Base);
break;
// custom color
@ -1623,10 +1623,10 @@ void SQ_GLWidget::createMarks()
*/
void SQ_GLWidget::updateCurrentFileInfo()
{
TQString status = TQString::fromLatin1("%1x%2@%3")
.arg(tab->finfo.image[tab->current].w)
.arg(tab->finfo.image[tab->current].h)
.arg(tab->finfo.image[tab->current].bpp);
TQString status = TQString::tqfromLatin1("%1x%2@%3")
.tqarg(tab->finfo.image[tab->current].w)
.tqarg(tab->finfo.image[tab->current].h)
.tqarg(tab->finfo.image[tab->current].bpp);
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBDecoded")->setText(status);
@ -1667,7 +1667,7 @@ void SQ_GLWidget::calcFrameLabelWidth()
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBFrame")->setFixedWidth(
SQ_GLView::window()->sbarWidget("SBFrame")->fontMetrics()
.boundingRect(TQString::fromLatin1("0%1/0%2").arg(tab->total).arg(tab->total)).width());
.boundingRect(TQString::tqfromLatin1("0%1/0%2").tqarg(tab->total).tqarg(tab->total)).width());
#endif
}
@ -1680,9 +1680,9 @@ void SQ_GLWidget::calcFrameLabelWidth()
void SQ_GLWidget::frameChanged()
{
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBFrame")->setText(TQString::fromLatin1("%1/%2").arg(tab->current+1).arg(tab->total));
SQ_GLView::window()->sbarWidget("SBFrame")->setText(TQString::tqfromLatin1("%1/%2").tqarg(tab->current+1).tqarg(tab->total));
#else
t_glv.sbarWidget("SBFrame")->setText(TQString::fromLatin1("%1/%2").arg(tab->current+1).arg(tab->total));
t_glv.sbarWidget("SBFrame")->setText(TQString::tqfromLatin1("%1/%2").tqarg(tab->current+1).tqarg(tab->total));
#endif
}
@ -1755,7 +1755,7 @@ void SQ_GLWidget::slotPrint()
TQSize sz(img.width(), img.height());
if(img.width() > mt.width() || img.height() > mt.height())
sz.scale(mt.width(), mt.height(), TQSize::ScaleMin);
sz.tqscale(mt.width(), mt.height(), TQSize::ScaleMin);
int cp = printer.numCopies();
@ -1774,5 +1774,5 @@ void SQ_GLWidget::copyURL()
if(!decoded || tab->broken)
return;
TQApplication::clipboard()->setText(tab->m_original.prettyURL());
TQApplication::tqclipboard()->setText(tab->m_original.prettyURL());
}

@ -55,7 +55,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Esc,X,Return&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;close&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Middle click, F&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fullscreen&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Z&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;show 'Zoom' menu&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;/&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;show this help&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Right click, M, ContextMenu&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;show context menu&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;N&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;toggle filter&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Left button&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;select a region&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Left&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;previous tab&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Right&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;next tab&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;W&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;close tab&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -79,7 +79,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Space, Page Down&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;next image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Backspace, Page Up&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;previous image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Home&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;first image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;End&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;last image&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -103,7 +103,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Left, Right, Up, Down&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;move the image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Left&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate left&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Right&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate right&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Up/Down&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate for 180 degrees up/down&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Alt + Left/Right&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate for 1 degree left/right&lt;/td&gt;&lt;/tr&gt;&lt;/table&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -127,7 +127,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;+/-&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom Nx&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + +/-&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom 2x/0.5x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Scroll&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;load next/prev file OR zoom+/zoom-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Scroll&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom+/zoom-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Scroll&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom+ 2x/zoom- 2x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;1..9&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom 1..9x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;0&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom 10x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;comma&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fit width&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;period&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fit height&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;*&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fit image&lt;/td&gt;&lt;/tr&gt;&lt;/table&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -154,7 +154,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;S&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;save as&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;V&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;flip vertically&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;H&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;flip horizontally&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;R&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;reset&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;P&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;image properties&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;C&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;codec settings&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;L&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;ignore zoom if image is smaller than window&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;I&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;menu with images&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;A&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;stop/start animation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;B&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;toggle drawing background for transparent images&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;K&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;toggle drawing tickmarks&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;E&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;show menu with external tools&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;Y&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;crop&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F1&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;first image in multi-paged image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F2&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;previous&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F3&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;next&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F4&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;last&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -296,7 +296,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>

@ -114,7 +114,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout6</cstring>
<cstring>tqlayout6</cstring>
</property>
<hbox>
<property name="name">
@ -152,7 +152,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout5</cstring>
<cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@ -190,7 +190,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<hbox>
<property name="name">
@ -322,7 +322,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@ -357,7 +357,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -392,7 +392,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout3</cstring>
<cstring>tqlayout3</cstring>
</property>
<hbox>
<property name="name">
@ -491,7 +491,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -508,7 +508,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -519,7 +519,7 @@
<property name="name">
<cstring>text</cstring>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignCenter</set>
</property>
</widget>
@ -535,7 +535,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -544,7 +544,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout8</cstring>
<cstring>tqlayout8</cstring>
</property>
<hbox>
<property name="name">
@ -560,7 +560,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>249</width>
<height>21</height>
@ -615,7 +615,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
@ -624,7 +624,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1">
<property name="name">
<cstring>layout15</cstring>
<cstring>tqlayout15</cstring>
</property>
<grid>
<property name="name">
@ -640,7 +640,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -665,7 +665,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -684,7 +684,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>
@ -709,7 +709,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -728,7 +728,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>

@ -82,7 +82,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>40</height>
@ -120,7 +120,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
@ -166,7 +166,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>45</height>
@ -207,7 +207,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -221,7 +221,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>26</height>
@ -251,7 +251,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>30</height>
@ -289,7 +289,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>30</height>
@ -338,7 +338,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -352,7 +352,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>14</height>
@ -390,7 +390,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>10</height>
@ -452,7 +452,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>10</width>
<height>11</height>
@ -514,7 +514,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>25</height>
@ -552,7 +552,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>14</height>
@ -572,7 +572,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -694,7 +694,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>35</height>
@ -740,7 +740,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>21</width>
<height>10</height>
@ -786,7 +786,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>10</height>
@ -832,7 +832,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>60</height>
@ -870,7 +870,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>35</height>
@ -943,7 +943,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>41</height>
@ -973,7 +973,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>25</height>
@ -1011,7 +1011,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>75</height>
@ -1052,7 +1052,7 @@
<property name="text">
<string>There are no special options available for this filter. Just click "Filter".</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -1066,7 +1066,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>11</width>
<height>113</height>
@ -1104,7 +1104,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>71</height>
@ -1124,7 +1124,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -1133,7 +1133,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -1149,7 +1149,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>285</width>
<height>16</height>
@ -1316,7 +1316,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>140</width>
<height>0</height>
@ -1333,7 +1333,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -1342,7 +1342,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<grid>
<property name="name">
@ -1360,7 +1360,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>
@ -1385,7 +1385,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -1402,7 +1402,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>
@ -1421,7 +1421,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>160</width>
<height>160</height>
@ -1438,7 +1438,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>1</width>
<height>16</height>

@ -49,7 +49,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>470</width>
<height>20</height>
@ -81,7 +81,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>10</height>
@ -157,7 +157,7 @@
<property name="text">
<string>Permissions:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter</set>
</property>
</widget>
@ -219,7 +219,7 @@
<property name="text">
<string>Created:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -238,7 +238,7 @@
<property name="text">
<string>Last read:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -257,7 +257,7 @@
<property name="text">
<string>Last modified:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -422,7 +422,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout5</cstring>
<cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@ -430,7 +430,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
<cstring>tqlayout3</cstring>
</property>
<vbox>
<property name="name">
@ -443,7 +443,7 @@
<property name="text">
<string>Type:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -454,7 +454,7 @@
<property name="text">
<string>Number of frames:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -473,7 +473,7 @@
<property name="text">
<string>Current frame</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -492,7 +492,7 @@
<property name="text">
<string>Delay:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -503,7 +503,7 @@
<property name="text">
<string>Dimensions:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -514,7 +514,7 @@
<property name="text">
<string>Bits per pixel:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -525,7 +525,7 @@
<property name="text">
<string>Color space:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -536,7 +536,7 @@
<property name="text">
<string>Compression:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -547,7 +547,7 @@
<property name="text">
<string>Uncompressed size:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -566,7 +566,7 @@
<property name="text">
<string>Compression ratio:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -585,7 +585,7 @@
<property name="text">
<string>Interlaced:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -602,9 +602,9 @@
</sizepolicy>
</property>
<property name="text">
<string>Status:</string>
<string>tqStatus:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -618,7 +618,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>210</width>
<height>16</height>
@ -629,7 +629,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<vbox>
<property name="name">
@ -789,7 +789,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@ -813,7 +813,7 @@
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textStatus</cstring>
<cstring>texttqStatus</cstring>
</property>
<property name="text">
<string></string>
@ -831,7 +831,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>205</width>
<height>16</height>
@ -926,7 +926,7 @@
<include location="global" impldecl="in implementation">kstdaction.h</include>
<include location="global" impldecl="in implementation">kaction.h</include>
<include location="global" impldecl="in implementation">tqapplication.h</include>
<include location="global" impldecl="in implementation">clipboard.h</include>
<include location="global" impldecl="in implementation">tqclipboard.h</include>
<include location="global" impldecl="in implementation">tqdir.h</include>
<include location="local" impldecl="in implementation">sq_iconloader.h</include>
<include location="global" impldecl="in implementation">tqbuttongroup.h</include>

@ -69,11 +69,11 @@ void SQ_ImageProperties::setParams(TQStringList &l)
int errors = (*it).toInt(); ++it;
textFrames->setText(*it); ++it;
textFrame->setText(*it); ++it;
TQString s = TQString::fromLatin1("%1").arg(i18n("1 error", "%n errors", errors));
textStatus->setText((errors)?s:TQString());
TQString s = TQString::tqfromLatin1("%1").tqarg(i18n("1 error", "%n errors", errors));
texttqStatus->setText((errors)?s:TQString());
textStatusIcon->setPixmap((errors)?error:ok);
s = TQString::fromLatin1("%1%2").arg(*it).arg(i18n(" ms."));
s = TQString::tqfromLatin1("%1%2").tqarg(*it).tqarg(i18n(" ms."));
textDelay->setText(s);
}
@ -115,7 +115,7 @@ void SQ_ImageProperties::setFileParams()
kew1->loadFile(file);
// hack to workaround poor libkexif API
TQObjectList *ch = const_cast<TQObjectList *>(kew1->children());
TQObjectList *ch = const_cast<TQObjectList *>(kew1->tqchildren());
for(TQObjectList::iterator it = ch->begin();it != ch->end();++it)
{
if((*it)->inherits(TQLISTVIEW_OBJECT_NAME_STRING))
@ -162,9 +162,9 @@ void SQ_ImageProperties::setMetaInfo(TQValueVector<TQPair<TQString,TQString> > m
for(TQValueVector<TQPair<TQString,TQString> >::iterator it = meta.begin();it != itEnd;++it)
{
if(after)
item = new TQListViewItem(listMeta, after, (*it).first+TQString::fromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
item = new TQListViewItem(listMeta, after, (*it).first+TQString::tqfromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
else
after = item = new TQListViewItem(listMeta, (*it).first+TQString::fromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
after = item = new TQListViewItem(listMeta, (*it).first+TQString::tqfromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
listMeta->insertItem(item);
}
@ -192,7 +192,7 @@ void SQ_ImageProperties::slotContextMenu( TQListViewItem *item, const TQPoint &p
void SQ_ImageProperties::slotCopyString()
{
TQApplication::clipboard()->setText(data->text(z), TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText(data->text(z), TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyAll()
@ -208,7 +208,7 @@ void SQ_ImageProperties::slotCopyAll()
app.append(item->text(0) + "\n" + item->text(1) + "\n");
}
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyEntry()
@ -218,7 +218,7 @@ void SQ_ImageProperties::slotCopyEntry()
TQString app = data->text(0) + "\n" + data->text(1) + "\n";
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotModeClicked(int id)
@ -243,8 +243,8 @@ void SQ_ImageProperties::slotStatResult(KIO::Job *job)
lineFile->setText(fi.name());
textSize->setText(KIO::convertSize(fi.size()));
textOwner->setText(TQString("%1").arg(fi.user()));
textGroup->setText(TQString("%1").arg(fi.group()));
textOwner->setText(TQString("%1").tqarg(fi.user()));
textGroup->setText(TQString("%1").tqarg(fi.group()));
textPermissions->setText(fi.permissionsString());
TQDateTime abs;

@ -252,8 +252,8 @@ void SQ_LibraryHandler::add(TQStringList &foundLibraries)
libtmp.lib->load();
// resolve create() and destroy() functions
libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve(TQString::fromLatin1("codec_create"));
libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve(TQString::fromLatin1("codec_destroy"));
libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve(TQString::tqfromLatin1("codec_create"));
libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve(TQString::tqfromLatin1("codec_destroy"));
// couldn't resolve - corrupted library ?
if(!libtmp.codec_create || !libtmp.codec_destroy)

@ -1883,7 +1883,7 @@ TQImage scale(const TQImage& image, int width, int height,
if( image.isNull()) return image.copy();
TQSize newSize( image.size() );
newSize.scale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0
newSize.tqscale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0
newSize = newSize.expandedTo( TQSize( 1, 1 )); // make sure it doesn't become null
if ( newSize == image.size() ) return image.copy();

@ -150,7 +150,7 @@ int main(int argc, char *argv[])
}
}
KGlobal::dirs()->addResourceType("data", KStandardDirs::kde_default("data") + TQString::fromLatin1("ksquirrel"));
KGlobal::dirs()->addResourceType("data", KStandardDirs::kde_default("data") + TQString::tqfromLatin1("ksquirrel"));
SQ_SplashScreen *splash = 0;

@ -419,7 +419,7 @@ void SQ_CategoryBrowserMenu::dragEnterEvent( TQDragEnterEvent *ev )
void SQ_CategoryBrowserMenu::dropEvent( TQDropEvent *ev )
{
KFileItem item( path(), TQString::fromLatin1( "inode/directory" ), KFileItem::Unknown );
KFileItem item( path(), TQString::tqfromLatin1( "inode/directory" ), KFileItem::Unknown );
KonqOperations::doDrop( &item, path(), ev, this );
KPanelMenu::dropEvent(ev);
// ### TODO: Update list

@ -89,7 +89,7 @@ void SQ_DBMenu::slotDirectoryRename()
bool ok;
TQString mNewFilename = KInputDialog::getText(i18n("Rename Folder"),
i18n("<p>Rename item <b>%1</b> to:</p>").arg(renameSrc),
i18n("<p>Rename item <b>%1</b> to:</p>").tqarg(renameSrc),
renameSrc, &ok, KSquirrel::app());
if(ok)

@ -130,7 +130,7 @@ void SQ_MountView::reload(bool current)
fi->setText(colum++, (*it)->mountType());
if(m_columns & OPT_COL_OPTIONS)
fi->setText(colum, (*it)->mountOptions().join(TQString::fromLatin1(", ")));
fi->setText(colum, (*it)->mountOptions().join(TQString::tqfromLatin1(", ")));
}
}
}

@ -126,7 +126,7 @@ void SQ_MultiBar::raiseWidget(int id)
void SQ_MultiBar::updateLayout()
{
setFixedWidth(mt->sizeHint().width());
setFixedWidth(mt->tqsizeHint().width());
stack->hide();
}

@ -280,7 +280,7 @@ void SQ_PreviewWidget::slotDownloadResult(const KURL &url)
int w = finfo->image[0].w;
int h = finfo->image[0].h;
dimstring = TQString::fromLatin1("%1x%2").arg(w).arg(h);
dimstring = TQString::tqfromLatin1("%1x%2").tqarg(w).tqarg(h);
const int wh = w * h;
unsigned char t;

@ -34,7 +34,7 @@ void SQ_StorageFile::writeStorageFileAsString(const TQString &path, const KURL &
content = inpath.prettyURL();
KMD5 md5(TQFile::encodeName(inpath.prettyURL()).data());
TQFile file(path + TQString::fromLatin1(".") + TQString(md5.hexDigest()));
TQFile file(path + TQString::tqfromLatin1(".") + TQString(md5.hexDigest()));
if(file.open(IO_WriteOnly))
{

@ -39,7 +39,7 @@ SQ_TreeViewItem::~SQ_TreeViewItem()
void SQ_TreeViewItem::paintFocus(TQPainter *, const TQColorGroup &, const TQRect &)
{}
void SQ_TreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
void SQ_TreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
{
KListView *klv = static_cast<KListView *>(listView());
@ -79,7 +79,7 @@ void SQ_TreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column
cc.setColor(TQColorGroup::Base, klv->alternateBackground());
}
TQListViewItem::paintCell(p, cc, column, width, alignment);
TQListViewItem::paintCell(p, cc, column, width, tqalignment);
}
}
@ -96,11 +96,11 @@ void SQ_TreeViewItem::setText(int column, const TQString &text)
TQString s;
if(use_c1 && use_c2) // files + dirs: show these two values anyway
s = TQString::fromLatin1(" [%1/%2]").arg(count_dirs).arg(count_files);
s = TQString::tqfromLatin1(" [%1/%2]").tqarg(count_dirs).tqarg(count_files);
else if(use_c1 && count_files) // files, file count is > 0
s = TQString::fromLatin1(" [%1]").arg(count_files);
s = TQString::tqfromLatin1(" [%1]").tqarg(count_files);
else if(use_c2 && count_dirs) // dirs, dir count is > 0
s = TQString::fromLatin1(" [%1]").arg(count_dirs);
s = TQString::tqfromLatin1(" [%1]").tqarg(count_dirs);
KFileTreeViewItem::setText(column, text + s);
}

@ -42,7 +42,7 @@ class SQ_TreeViewItem : public KFileTreeViewItem
virtual void setText(int column, const TQString &text);
protected:
virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment);
virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment);
private:
bool m_checked;
@ -67,7 +67,7 @@ inline
void SQ_TreeViewItem::setChecked(bool c)
{
m_checked = c;
repaint();
tqrepaint();
}
inline

@ -1,6 +1,6 @@
#include <tqpoint.h>
#include <tqwidget.h>
#include <stylesheet.h>
#include <tqstylesheet.h>
#include <klocale.h>
#include <kurl.h>
@ -62,7 +62,7 @@ void SQ_TreeViewMenu::slotDirectoryNew()
bool ok;
TQString mNewFilename = KInputDialog::getText(i18n("Create Subfolder"),
i18n("<p>Create new folder in <b>%1</b>:</p>").arg(TQStyleSheet::escape(m_url.filename())),
i18n("<p>Create new folder in <b>%1</b>:</p>").tqarg(TQStyleSheet::escape(m_url.filename())),
TQString(), &ok, KSquirrel::app());
if(ok)
@ -86,7 +86,7 @@ void SQ_TreeViewMenu::slotDirectoryRename()
TQString filename = TQStyleSheet::escape(renameSrcURL.filename());
TQString mNewFilename = KInputDialog::getText(i18n("Rename Folder"),
i18n("<p>Rename folder <b>%1</b> to:</p>").arg(filename),
i18n("<p>Rename folder <b>%1</b> to:</p>").tqarg(filename),
renameSrcURL.filename(), &ok, KSquirrel::app());
if(ok)
@ -108,7 +108,7 @@ void SQ_TreeViewMenu::slotDirectoryDelete()
TQString dir = TQStyleSheet::escape(m_url.path());
if(KMessageBox::questionYesNo(KSquirrel::app(),
"<qt>" + i18n("Are you sure you want to delete <b>%1</b>?").arg(dir) + "</qt>") == KMessageBox::No)
"<qt>" + i18n("Are you sure you want to delete <b>%1</b>?").tqarg(dir) + "</qt>") == KMessageBox::No)
return;
KIO::Job *job = KIO::del(m_url);
@ -124,7 +124,7 @@ void SQ_TreeViewMenu::slotDirectoryClear()
urlstodel.clear();
if(KMessageBox::questionYesNo(KSquirrel::app(),
"<qt>" + i18n("Are you sure you want to delete contents of <b>%1</b>?").arg(m_url.path()) + "</qt>") == KMessageBox::No)
"<qt>" + i18n("Are you sure you want to delete contents of <b>%1</b>?").tqarg(m_url.path()) + "</qt>") == KMessageBox::No)
return;
KIO::Job *job = KIO::listDir(m_url, false, true);

@ -34,7 +34,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>16</width>
<height>16</height>
@ -101,7 +101,7 @@
</widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -117,7 +117,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>
@ -191,7 +191,7 @@
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="global" impldecl="in implementation">tqwidgetfactory.h</include>
<include location="global" impldecl="in implementation">tqspinbox.h</include>
<include location="global" impldecl="in implementation">textedit.h</include>
<include location="global" impldecl="in implementation">tqtextedit.h</include>
<include location="global" impldecl="in implementation">kurl.h</include>
<include location="global" impldecl="in implementation">kcolorbutton.h</include>
<include location="local" impldecl="in implementation">sq_codecsettingsskeleton.ui.h</include>

@ -25,7 +25,7 @@ void SQ_CodecSettingsSkeleton::addSettingsWidget(const TQString &path)
pushApply->setEnabled(false);
pushOK->setEnabled(false);
TQTextEdit *t = new TQTextEdit(i18n("Error loading widget from <b>%1</b>. Please check your installation or contact <a href=\"mailto:ksquirrel.iv@gmail.com\">ksquirrel.iv@gmail.com</a>").arg(path), TQString(), groupBox);
TQTextEdit *t = new TQTextEdit(i18n("Error loading widget from <b>%1</b>. Please check your installation or contact <a href=\"mailto:ksquirrel.iv@gmail.com\">ksquirrel.iv@gmail.com</a>").tqarg(path), TQString(), groupBox);
t->setReadOnly(true);
fake = t;
}

@ -79,7 +79,7 @@ bool SQ_Dir::mkdir(const TQString &relpath)
void SQ_Dir::setRoot(const TQString &name)
{
m_root = TQDir::cleanDirPath(homeDirPath() + TQDir::separator() + TQString::fromLatin1(".ksquirrel"));
m_root = TQDir::cleanDirPath(homeDirPath() + TQDir::separator() + TQString::tqfromLatin1(".ksquirrel"));
TQDir::mkdir(m_root);
m_root = TQDir::cleanDirPath(m_root + TQDir::separator() + name);

@ -24,7 +24,7 @@
#include <tqfileinfo.h>
#include <tqapplication.h>
#include <tqtooltip.h>
#include <clipboard.h>
#include <tqclipboard.h>
#include <kapplication.h>
#include <kstringhandler.h>
@ -179,16 +179,16 @@ void SQ_DirOperator::slotFoundMountPoint(const unsigned long &kbSize,
KSquirrel::app()->diskProgress()->setTotalSteps(kbSize);
KSquirrel::app()->diskProgress()->setIndicator(kbSize-kbAvail); // kbSize != kbAvail+kbUsed
KSquirrel::app()->sbarWidget("diskSpace")->setText(TQString::fromLatin1("%1: %2/%3")
.arg(mount)
.arg(KIO::convertSizeFromKB(kbAvail))
.arg(KIO::convertSizeFromKB(kbSize)));
KSquirrel::app()->sbarWidget("diskSpace")->setText(TQString::tqfromLatin1("%1: %2/%3")
.tqarg(mount)
.tqarg(KIO::convertSizeFromKB(kbAvail))
.tqarg(KIO::convertSizeFromKB(kbSize)));
TQToolTip::add(KSquirrel::app()->sbarWidget("diskSpace"), i18n("<table><tr><td>Mount point:</td><td>%1</td></tr><tr><td>Total size:</td><td>%2</td></tr><tr><td>Used:</td><td>%3</td></tr><tr><td>Available:</td><td>%4</td></tr></table>")
.arg(mount)
.arg(KIO::convertSizeFromKB(kbSize))
.arg(KIO::convertSizeFromKB(kbUsed))
.arg(KIO::convertSizeFromKB(kbAvail))
.tqarg(mount)
.tqarg(KIO::convertSizeFromKB(kbSize))
.tqarg(KIO::convertSizeFromKB(kbUsed))
.tqarg(KIO::convertSizeFromKB(kbAvail))
);
}
@ -320,9 +320,9 @@ void SQ_DirOperator::slotSelectionChanged()
// costruct name and size
str = TQString("%1 %2 %3")
.arg(KStringHandler::csqueeze(fi->name(), SQ_MAX_WORD_LENGTH))
.arg(KIO::convertSize(fi->size()))
.arg(add > 1 ? TQString("<b>[%1/%2]</b>").arg(KIO::convertSize(sz)).arg(add):"");
.tqarg(KStringHandler::csqueeze(fi->name(), SQ_MAX_WORD_LENGTH))
.tqarg(KIO::convertSize(fi->size()))
.tqarg(add > 1 ? TQString("<b>[%1/%2]</b>").tqarg(KIO::convertSize(sz)).tqarg(add):"");
}
// update statusbar
@ -419,7 +419,7 @@ void SQ_DirOperator::slotCopyPath()
KFileItem *f = fileview->currentFileItem();
if(f)
TQApplication::clipboard()->setText(f->url().path());
TQApplication::tqclipboard()->setText(f->url().path());
}
void SQ_DirOperator::slotCopyURL()
@ -427,7 +427,7 @@ void SQ_DirOperator::slotCopyURL()
KFileItem *f = fileview->currentFileItem();
if(f)
TQApplication::clipboard()->setText(f->url().prettyURL());
TQApplication::tqclipboard()->setText(f->url().prettyURL());
}
void SQ_DirOperator::slotEditMime()
@ -558,10 +558,10 @@ void SQ_DirOperator::slotUpdateInformation(int files, int dirs)
SQ_Config::instance()->setGroup("Fileview");
TQString str = i18n("Total %1 in %2 (%3, %4)")
.arg(KIO::convertSize(totalSize))
.arg(i18n("1 item", "%n items", total))
.arg(i18n("1 folder", "%n folders", dirs))
.arg(i18n("1 file", "%n files", files));
.tqarg(KIO::convertSize(totalSize))
.tqarg(i18n("1 item", "%n items", total))
.tqarg(i18n("1 folder", "%n folders", dirs))
.tqarg(i18n("1 file", "%n files", files));
KSquirrel::app()->sbarWidget("dirInfo")->setText(str);
}

@ -73,17 +73,17 @@ TQString SQ_DirThumbs::absPath(const KURL &relurl)
{
KMD5 md5(TQString(TQFile::encodeName(relurl.prettyURL())));
TQString ext = TQString::fromLatin1(".%1").arg(sqdirThumbFormat);
TQString ext = TQString::tqfromLatin1(".%1").tqarg(sqdirThumbFormat);
return m_orig + TQDir::separator() + TQString(md5.hexDigest()) + ext.lower();
}
void SQ_DirThumbs::setRoot()
{
m_orig = TQDir::cleanDirPath(homeDirPath() + TQDir::separator() + TQString::fromLatin1(".thumbnails"));
m_orig = TQDir::cleanDirPath(homeDirPath() + TQDir::separator() + TQString::tqfromLatin1(".thumbnails"));
TQDir::mkdir(m_orig);
m_orig = TQDir::cleanDirPath(m_orig + TQDir::separator() + TQString::fromLatin1("normal"));
m_orig = TQDir::cleanDirPath(m_orig + TQDir::separator() + TQString::tqfromLatin1("normal"));
TQDir::mkdir(m_orig);
}

@ -102,7 +102,7 @@ void SQ_DragProvider::start()
if(pixw > SQ_THUMB_SIZE)
{
TQSize sz(pixw, pixh);
sz.scale(SQ_THUMB_SIZE, SQ_THUMB_SIZE, TQSize::ScaleMin);
sz.tqscale(SQ_THUMB_SIZE, SQ_THUMB_SIZE, TQSize::ScaleMin);
pixw = sz.width();
pixh = sz.height();
}
@ -138,7 +138,7 @@ void SQ_DragProvider::start()
text = text + *sit + '\n';
}
text += TQString::fromLatin1("%1 %2").arg(i18n("Total")).arg(i18n("1 file", "%n files", count));
text += TQString::tqfromLatin1("%1 %2").tqarg(i18n("Total")).tqarg(i18n("1 file", "%n files", count));
TQFontMetrics ms(source->font());
TQRect r = ms.boundingRect(0, 0, 1, 1, flags, text);

@ -30,7 +30,7 @@ SQ_ErrorString::SQ_ErrorString(TQObject *parent) : TQObject(parent)
m_instance = this;
// fill map with translated messages
messages.insert(SQE_OK, TQString::fromLatin1("OK"));
messages.insert(SQE_OK, TQString::tqfromLatin1("OK"));
messages.insert(SQE_R_NOFILE, i18n("cannot open file for reading"));
messages.insert(SQE_R_BADFILE, i18n("file corrupted"));
messages.insert(SQE_R_NOMEMORY, i18n("no memory"));

@ -171,7 +171,7 @@ void SQ_ExternalTool::slotAboutToShowMenu()
TQString file = KStringHandler::rsqueeze(item->name(), 30);
// finally, change title
TQString final = (items.count() == 1 || items.count() == 0) ? file : (file + TQString::fromLatin1(" (+%1)").arg(items.count()-1));
TQString final = (items.count() == 1 || items.count() == 0) ? file : (file + TQString::tqfromLatin1(" (+%1)").tqarg(items.count()-1));
menu->changeTitle(final);
}

@ -32,7 +32,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>65</width>
<height>20</height>
@ -162,7 +162,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>130</height>
@ -171,7 +171,7 @@
</spacer>
<widget class="TQLayoutWidget" row="0" column="3">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<vbox>
<property name="name">
@ -267,7 +267,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>22</width>
<height>22</height>
@ -301,7 +301,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>22</width>
<height>22</height>
@ -351,7 +351,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>22</width>
<height>22</height>

@ -107,8 +107,8 @@ void SQ_FileThumbView::insertItem(KFileItem *i)
TQPixmap mimeall = i->pixmap(SQ_ThumbnailSize::smallest());
TQPixmap thumbnail(pixelSize.width(), pixelSize.height());
TQPainter painter(&thumbnail);
painter.setBrush(colorGroup().base());
painter.setPen(colorGroup().highlight());
painter.setBrush(tqcolorGroup().base());
painter.setPen(tqcolorGroup().highlight());
painter.drawRect(0, 0, pixelSize.width(), pixelSize.height());
painter.drawPixmap((pixelSize.width()-mimeall.width())/2, (pixelSize.height()-mimeall.height())/2, mimeall);
item = new SQ_FileThumbViewItem(this, i->text(), thumbnail, i);
@ -147,8 +147,8 @@ void SQ_FileThumbView::setThumbnailPixmap(const KFileItem* fileItem, const SQ_Th
TQPainter painter;
painter.begin(&newpix);
painter.setPen(colorGroup().highlight());
painter.setBrush(colorGroup().base());
painter.setPen(tqcolorGroup().highlight());
painter.setBrush(tqcolorGroup().base());
// draw bounding rect
painter.drawRect(0, 0, W, H);
@ -163,9 +163,9 @@ void SQ_FileThumbView::setThumbnailPixmap(const KFileItem* fileItem, const SQ_Th
int rest = H-W-2;
painter.setPen(colorGroup().text());
painter.setPen(tqcolorGroup().text());
if(t.w && t.h) painter.drawText(4, W+rest/2-12, 100, 12, 0, TQString::fromLatin1("%1x%2").arg(t.w).arg(t.h));
if(t.w && t.h) painter.drawText(4, W+rest/2-12, 100, 12, 0, TQString::tqfromLatin1("%1x%2").tqarg(t.w).tqarg(t.h));
painter.drawText(4, W+rest/2+1, 100, 12, 0, KIO::convertSize(fileItem->size()));
painter.end();
@ -177,8 +177,8 @@ void SQ_FileThumbView::setThumbnailPixmap(const KFileItem* fileItem, const SQ_Th
TQPainter painter;
painter.begin(&newpix);
painter.setPen(colorGroup().highlight());
painter.setBrush(colorGroup().base());
painter.setPen(tqcolorGroup().highlight());
painter.setBrush(tqcolorGroup().base());
// draw bounding rect
painter.drawRect(0, 0, pixelSize.width(), pixelSize.height());
@ -192,7 +192,7 @@ void SQ_FileThumbView::setThumbnailPixmap(const KFileItem* fileItem, const SQ_Th
item->setListed(true);
// update item
item->repaint();
item->tqrepaint();
}
void SQ_FileThumbView::startThumbnailUpdate()
@ -466,8 +466,8 @@ void SQ_FileThumbView::rebuildPendingPixmap(bool dir)
p->resize(pixelSize.width(), pixelSize.height());
TQPainter painter(p);
painter.setBrush(colorGroup().base());
painter.setPen(colorGroup().highlight());
painter.setBrush(tqcolorGroup().base());
painter.setPen(tqcolorGroup().highlight());
painter.drawRect(0, 0, pixelSize.width(), pixelSize.height());
painter.drawPixmap((pixelSize.width() - w->width())/2, (pixelSize.height() - w->height())/2, *w);
}

@ -67,7 +67,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>411</width>
<height>20</height>
@ -90,7 +90,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="3">
<property name="name">
<cstring>layout7</cstring>
<cstring>tqlayout7</cstring>
</property>
<vbox>
<property name="name">
@ -186,7 +186,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>22</width>
<height>22</height>
@ -220,7 +220,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>22</width>
<height>22</height>
@ -253,7 +253,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>145</height>
@ -262,7 +262,7 @@
</spacer>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="2" colspan="3">
<property name="name">
<cstring>layout7</cstring>
<cstring>tqlayout7</cstring>
</property>
<grid>
<property name="name">

@ -132,7 +132,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>431</width>
<height>21</height>

@ -64,7 +64,7 @@ class SQ_GLSelectionPainter
void end();
/*
* Selected rectangle geometry
* Selected rectangle tqgeometry
*/
TQPoint pos() const;
TQSize size() const;

@ -19,7 +19,7 @@
#include "config.h"
#endif
#include <layout.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqtoolbutton.h>
#include <tqtooltip.h>
@ -115,8 +115,8 @@ void SQ_GLView::createContent()
TQLabel *sqSBFile = new KSqueezedTextLabel(TQString(), 0, "SBFile");
names.insert("SBFile", sqSBFile);
sqSBFrame->setAlignment(TQt::AlignHCenter | TQt::AlignVCenter | TQt::ExpandTabs);
sqSBFile->setAlignment(TQt::AlignRight | TQt::AlignTop);
sqSBFrame->tqsetAlignment(TQt::AlignHCenter | TQt::AlignVCenter | TQt::ExpandTabs);
sqSBFile->tqsetAlignment(TQt::AlignRight | TQt::AlignTop);
TQFont font = sqSBFile->font();
font.setBold(true);
sqSBFile->setFont(font);
@ -133,7 +133,7 @@ void SQ_GLView::createContent()
sbar->setShown(SQ_Config::instance()->readBoolEntry("statusbar", true));
// restore geometry from config file
// restore tqgeometry from config file
restoreGeometry();
gl->matrixChanged();
@ -198,15 +198,15 @@ void SQ_GLView::restoreGeometry()
*/
void SQ_GLView::resetStatusBar()
{
TQString fl = TQString::fromLatin1("----");
TQString fl = TQString::tqfromLatin1("----");
names["SBGLZoom"]->setText(fl);
names["SBGLAngle"]->setText(fl);
names["SBLoaded"]->setText(fl);
names["SBDecodedI"]->setText(TQString::fromLatin1("--"));
names["SBFile"]->setText(TQString::fromLatin1("--------"));
names["SBDecodedI"]->setText(TQString::tqfromLatin1("--"));
names["SBFile"]->setText(TQString::tqfromLatin1("--------"));
names["SBDecoded"]->setText(fl);
names["SBFrame"]->setText(TQString::fromLatin1("0/0"));
names["SBFrame"]->setText(TQString::tqfromLatin1("0/0"));
}
SQ_ToolBar::SQ_ToolBar(TQWidget *parent) : KToolBar(parent)

@ -491,10 +491,10 @@ void SQ_GLWidget::matrixChanged()
float z = (m < 1.0) ? 1.0/m : m;
// construct zoom
str = TQString::fromLatin1("%1% [%2:%3]")
.arg(fzoom, 0, 'f', 1)
.arg((m < 1.0)?1.0:z, 0, 'f', 1)
.arg((m > 1.0)?1.0:z, 0, 'f', 1);
str = TQString::tqfromLatin1("%1% [%2:%3]")
.tqarg(fzoom, 0, 'f', 1)
.tqarg((m < 1.0)?1.0:z, 0, 'f', 1)
.tqarg((m > 1.0)?1.0:z, 0, 'f', 1);
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBGLZoom")->setText(str);
@ -503,10 +503,10 @@ void SQ_GLWidget::matrixChanged()
#endif
// construct rotation angle
str = TQString::fromLatin1("%1%2 %3 deg")
.arg((tab->isflippedV)?"V":"")
.arg((tab->isflippedH)?"H":"")
.arg(tab->curangle, 0, 'f', 1);
str = TQString::tqfromLatin1("%1%2 %3 deg")
.tqarg((tab->isflippedV)?"V":"")
.tqarg((tab->isflippedH)?"H":"")
.tqarg(tab->curangle, 0, 'f', 1);
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBGLAngle")->setText(str);
@ -1273,7 +1273,7 @@ bool SQ_GLWidget::prepare()
if(!m_lib)
{
KMessageBox::error(this, i18n("Codec for %1 format not found").arg(tab->fmt_ext));
KMessageBox::error(this, i18n("Codec for %1 format not found").tqarg(tab->fmt_ext));
reset_mode = false;
tab = tabold;
return false;
@ -1515,7 +1515,7 @@ void SQ_GLWidget::decode()
{
KMessageBox::error(this,
i18n("Memory allocation failed for %1 of memory")
.arg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
.tqarg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
decodeFailedOn0(SQE_R_NOMEMORY);
return;
@ -1598,7 +1598,7 @@ void SQ_GLWidget::decode()
}
}
id = images->insertItem(TQString::fromLatin1("#%1 [%2x%3@%4]").arg(tab->current+1).arg(im->w).arg(im->h).arg(im->bpp));
id = images->insertItem(TQString::tqfromLatin1("#%1 [%2x%3@%4]").tqarg(tab->current+1).tqarg(im->w).tqarg(im->h).tqarg(im->bpp));
images->setItemParameter(id, tab->current);
@ -1655,7 +1655,7 @@ void SQ_GLWidget::paletteChange(const TQPalette &oldPalette)
if(SQ_Config::instance()->readNumEntry("GL view background type", 1) == 0)
{
TQColor color = colorGroup().color(TQColorGroup::Base);
TQColor color = tqcolorGroup().color(TQColorGroup::Base);
qglClearColor(color);
updateGL();
}

@ -66,7 +66,7 @@ namespace SQ_GLHelpers
/*
* normalize selection rectangle
* sx,sy are X and Y coordinates
* sw x sh is a selection geometry
* sw x sh is a selection tqgeometry
*/
bool normalizeSelection(int &sx, int &sy, int &sw, int &sh, int w, int h, const TQWMatrix&, int curangle, int orient);
}

@ -19,7 +19,7 @@
#include "config.h"
#endif
#include <clipboard.h>
#include <tqclipboard.h>
#include <tqslider.h>
#include <tqdragobject.h>
#include <tqtimer.h>
@ -91,14 +91,14 @@ void SQ_GLWidget::createActions()
pAFull = new KToggleAction(TQString(), 0, 0, 0, ac, "SQ GL Full");
TQString squirrel_zoom_actions = TQString::fromLatin1("squirrel_zoom_actions");
TQString squirrel_zoom_actions = TQString::tqfromLatin1("squirrel_zoom_actions");
pAZoomW->setExclusiveGroup(squirrel_zoom_actions);
pAZoomH->setExclusiveGroup(squirrel_zoom_actions);
pAZoomWH->setExclusiveGroup(squirrel_zoom_actions);
pAZoom100->setExclusiveGroup(squirrel_zoom_actions);
pAZoomLast->setExclusiveGroup(squirrel_zoom_actions);
TQString squirrel_selection_type = TQString::fromLatin1("squirrel_selection_type");
TQString squirrel_selection_type = TQString::tqfromLatin1("squirrel_selection_type");
pASelectionEllipse->setExclusiveGroup(squirrel_selection_type);
pASelectionRect->setExclusiveGroup(squirrel_selection_type);
@ -236,17 +236,17 @@ void SQ_GLWidget::slotProperties()
// save tab->current image parameters and some additioanl information
// in list
list << tab->quickImageInfo
<< TQString::fromLatin1("%1x%2").arg(tab->finfo.image[tab->current].w).arg(tab->finfo.image[tab->current].h)
<< TQString::fromLatin1("%1").arg(tab->finfo.image[tab->current].bpp)
<< TQString::tqfromLatin1("%1x%2").tqarg(tab->finfo.image[tab->current].w).tqarg(tab->finfo.image[tab->current].h)
<< TQString::tqfromLatin1("%1").tqarg(tab->finfo.image[tab->current].bpp)
<< tab->finfo.image[tab->current].colorspace
<< tab->finfo.image[tab->current].compression
<< sz
<< TQString::fromLatin1("%1").arg((double)real_size / tab->fmt_size, 0, 'f', 2)
<< TQString::tqfromLatin1("%1").tqarg((double)real_size / tab->fmt_size, 0, 'f', 2)
<< ((tab->finfo.image[tab->current].interlaced) ? i18n("yes") : i18n("no"))
<< TQString::fromLatin1("%1").arg(errors)
<< TQString::fromLatin1("%1").arg(tab->finfo.image.size())
<< TQString::fromLatin1("#%1").arg(tab->current+1)
<< TQString::fromLatin1("%1").arg(tab->finfo.image[tab->current].delay);
<< TQString::tqfromLatin1("%1").tqarg(errors)
<< TQString::tqfromLatin1("%1").tqarg(tab->finfo.image.size())
<< TQString::tqfromLatin1("#%1").tqarg(tab->current+1)
<< TQString::tqfromLatin1("%1").tqarg(tab->finfo.image[tab->current].delay);
// create dialog and setup it
SQ_ImageProperties prop(this);
@ -493,7 +493,7 @@ void SQ_GLWidget::saveAs()
if(!wlib || !wlib->writestatic)
{
KMessageBox::error(this, i18n("Sorry, could not perform write operation\nfor codec \"%1\"").arg(d.nameFilter()));
KMessageBox::error(this, i18n("Sorry, could not perform write operation\nfor codec \"%1\"").tqarg(d.nameFilter()));
return;
}
@ -644,9 +644,9 @@ void SQ_GLWidget::toClipboard()
// image doesn't have extra regions
if(tab->parts[tab->current].realw == tab->parts[tab->current].w && tab->parts[tab->current].realh == tab->parts[tab->current].h)
KApplication::clipboard()->setImage(im, TQClipboard::Clipboard);
KApplication::tqclipboard()->setImage(im, TQClipboard::Clipboard);
else
KApplication::clipboard()->setImage(im.copy(0, 0, tab->parts[tab->current].w, tab->parts[tab->current].h), TQClipboard::Clipboard);
KApplication::tqclipboard()->setImage(im.copy(0, 0, tab->parts[tab->current].w, tab->parts[tab->current].h), TQClipboard::Clipboard);
}
void SQ_GLWidget::bcg()
@ -867,7 +867,7 @@ void SQ_GLWidget::initAccelsAndMenu()
menu->insertItem(i18n("Image"), menuImage);
#define SQ_ADD_KACTION(b) \
(new KAction(TQString(), b, TQT_TQOBJECT(this), TQT_SLOT(slotAccelActivated()), ac, TQString::fromLatin1("action_%1").arg(b)))
(new KAction(TQString(), b, TQT_TQOBJECT(this), TQT_SLOT(slotAccelActivated()), ac, TQString::tqfromLatin1("action_%1").tqarg(b)))
id_saveas = menuFile->insertItem(SQ_IconLoader::instance()->loadIcon("filesaveas", KIcon::Desktop, KIcon::SizeSmall), i18n("Save As...") + "\tS", SQ_ADD_KACTION(TQt::Key_S), TQT_SLOT(activate()));
@ -900,13 +900,13 @@ void SQ_GLWidget::initAccelsAndMenu()
menuZoom->insertItem(i18n("Zoom 2x") + "\tCtrl++", SQ_ADD_KACTION(TQt::Key_Plus+CTRL), TQT_SLOT(activate()));
menuZoom->insertItem(i18n("Zoom 1/2x") + "\tCtrl+-", SQ_ADD_KACTION(TQt::Key_Minus+CTRL), TQT_SLOT(activate()));
menuZoom->insertSeparator();
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom10016.png")), TQString::fromLatin1("100%") + "\t1", SQ_ADD_KACTION(TQt::Key_1), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom20016.png")), TQString::fromLatin1("200%") + "\t2", SQ_ADD_KACTION(TQt::Key_2), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom30016.png")), TQString::fromLatin1("300%") + "\t3", SQ_ADD_KACTION(TQt::Key_3), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom50016.png")), TQString::fromLatin1("500%") + "\t5", SQ_ADD_KACTION(TQt::Key_5), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom70016.png")), TQString::fromLatin1("700%") + "\t7", SQ_ADD_KACTION(TQt::Key_7), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom90016.png")), TQString::fromLatin1("900%") + "\t9", SQ_ADD_KACTION(TQt::Key_9), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom100016.png")), TQString::fromLatin1("1000%") + "\t0", SQ_ADD_KACTION(TQt::Key_0), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom10016.png")), TQString::tqfromLatin1("100%") + "\t1", SQ_ADD_KACTION(TQt::Key_1), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom20016.png")), TQString::tqfromLatin1("200%") + "\t2", SQ_ADD_KACTION(TQt::Key_2), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom30016.png")), TQString::tqfromLatin1("300%") + "\t3", SQ_ADD_KACTION(TQt::Key_3), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom50016.png")), TQString::tqfromLatin1("500%") + "\t5", SQ_ADD_KACTION(TQt::Key_5), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom70016.png")), TQString::tqfromLatin1("700%") + "\t7", SQ_ADD_KACTION(TQt::Key_7), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom90016.png")), TQString::tqfromLatin1("900%") + "\t9", SQ_ADD_KACTION(TQt::Key_9), TQT_SLOT(activate()));
menuZoom->insertItem(TQPixmap(locate("data", "images/menu/zoom100016.png")), TQString::tqfromLatin1("1000%") + "\t0", SQ_ADD_KACTION(TQt::Key_0), TQT_SLOT(activate()));
menuMove->insertItem(TQPixmap(locate("data", "images/menu/moveLeft16.png")), i18n("Move left") + "\tRight", SQ_ADD_KACTION(TQt::Key_Right), TQT_SLOT(activate()));
menuMove->insertItem(TQPixmap(locate("data", "images/menu/moveRight16.png")), i18n("Move right") + "\tLeft", SQ_ADD_KACTION(TQt::Key_Left), TQT_SLOT(activate()));
@ -1224,7 +1224,7 @@ void SQ_GLWidget::crop()
{
KMessageBox::error(this,
i18n("Memory allocation failed for %1 of memory")
.arg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
.tqarg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA))));
return;
}
@ -1312,7 +1312,7 @@ void SQ_GLWidget::slotChangeTab(int id)
for(;it != itEnd;++it, ++i)
{
mid = images->insertItem(TQString::fromLatin1("#%1 [%2x%3@%4]").arg(i+1).arg((*it).w).arg((*it).h).arg((*it).bpp));
mid = images->insertItem(TQString::tqfromLatin1("#%1 [%2x%3@%4]").tqarg(i+1).tqarg((*it).w).tqarg((*it).h).tqarg((*it).bpp));
images->setItemParameter(mid, i);
if(i == tab->current)
@ -1493,7 +1493,7 @@ void SQ_GLWidget::setClearColor()
{
// system color
case 0:
color = colorGroup().color(TQColorGroup::Base);
color = tqcolorGroup().color(TQColorGroup::Base);
break;
// custom color
@ -1623,10 +1623,10 @@ void SQ_GLWidget::createMarks()
*/
void SQ_GLWidget::updateCurrentFileInfo()
{
TQString status = TQString::fromLatin1("%1x%2@%3")
.arg(tab->finfo.image[tab->current].w)
.arg(tab->finfo.image[tab->current].h)
.arg(tab->finfo.image[tab->current].bpp);
TQString status = TQString::tqfromLatin1("%1x%2@%3")
.tqarg(tab->finfo.image[tab->current].w)
.tqarg(tab->finfo.image[tab->current].h)
.tqarg(tab->finfo.image[tab->current].bpp);
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBDecoded")->setText(status);
@ -1667,7 +1667,7 @@ void SQ_GLWidget::calcFrameLabelWidth()
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBFrame")->setFixedWidth(
SQ_GLView::window()->sbarWidget("SBFrame")->fontMetrics()
.boundingRect(TQString::fromLatin1("0%1/0%2").arg(tab->total).arg(tab->total)).width());
.boundingRect(TQString::tqfromLatin1("0%1/0%2").tqarg(tab->total).tqarg(tab->total)).width());
#endif
}
@ -1680,9 +1680,9 @@ void SQ_GLWidget::calcFrameLabelWidth()
void SQ_GLWidget::frameChanged()
{
#ifndef KSQUIRREL_PART
SQ_GLView::window()->sbarWidget("SBFrame")->setText(TQString::fromLatin1("%1/%2").arg(tab->current+1).arg(tab->total));
SQ_GLView::window()->sbarWidget("SBFrame")->setText(TQString::tqfromLatin1("%1/%2").tqarg(tab->current+1).tqarg(tab->total));
#else
t_glv.sbarWidget("SBFrame")->setText(TQString::fromLatin1("%1/%2").arg(tab->current+1).arg(tab->total));
t_glv.sbarWidget("SBFrame")->setText(TQString::tqfromLatin1("%1/%2").tqarg(tab->current+1).tqarg(tab->total));
#endif
}
@ -1755,7 +1755,7 @@ void SQ_GLWidget::slotPrint()
TQSize sz(img.width(), img.height());
if(img.width() > mt.width() || img.height() > mt.height())
sz.scale(mt.width(), mt.height(), TQSize::ScaleMin);
sz.tqscale(mt.width(), mt.height(), TQSize::ScaleMin);
int cp = printer.numCopies();
@ -1774,5 +1774,5 @@ void SQ_GLWidget::copyURL()
if(!decoded || tab->broken)
return;
TQApplication::clipboard()->setText(tab->m_original.prettyURL());
TQApplication::tqclipboard()->setText(tab->m_original.prettyURL());
}

@ -55,7 +55,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Esc,X,Return&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;close&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Middle click, F&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fullscreen&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Z&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;show 'Zoom' menu&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;/&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;show this help&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Right click, M, ContextMenu&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;show context menu&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;N&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;toggle filter&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Left button&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;select a region&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Left&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;previous tab&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Right&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;next tab&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;W&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;close tab&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -79,7 +79,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Space, Page Down&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;next image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Backspace, Page Up&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;previous image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Home&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;first image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;End&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;last image&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -103,7 +103,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Left, Right, Up, Down&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;move the image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Left&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate left&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Right&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate right&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Up/Down&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate for 180 degrees up/down&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Alt + Left/Right&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;rotate for 1 degree left/right&lt;/td&gt;&lt;/tr&gt;&lt;/table&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -127,7 +127,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;+/-&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom Nx&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + +/-&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom 2x/0.5x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Scroll&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;load next/prev file OR zoom+/zoom-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Shift + Scroll&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom+/zoom-&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;Ctrl + Scroll&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom+ 2x/zoom- 2x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;1..9&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom 1..9x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;0&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;zoom 10x&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;comma&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fit width&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;period&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fit height&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;p align=right&gt;*&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;fit image&lt;/td&gt;&lt;/tr&gt;&lt;/table&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -154,7 +154,7 @@
<property name="text">
<string>&lt;p align=center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;S&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;save as&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;V&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;flip vertically&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;H&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;flip horizontally&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;R&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;reset&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;P&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;image properties&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;C&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;codec settings&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;L&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;ignore zoom if image is smaller than window&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;I&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;menu with images&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;A&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;stop/start animation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;B&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;toggle drawing background for transparent images&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;K&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;toggle drawing tickmarks&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;E&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;show menu with external tools&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;Y&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;crop&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F1&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;first image in multi-paged image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F2&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;previous&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F3&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;next&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p align=right&gt;&lt;b&gt;F4&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;last&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -296,7 +296,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>16</height>

@ -44,7 +44,7 @@ void SQ_IconListBox::updateWidth()
((SQ_IconListItem *)i)->expandMinimumWidth(maxWidth + 30);
if(verticalScrollBar()->isVisible())
maxWidth += verticalScrollBar()->sizeHint().width();
maxWidth += verticalScrollBar()->tqsizeHint().width();
setFixedWidth(maxWidth + frameWidth()*2 + 30);
mWidthValid = true;

@ -49,7 +49,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>470</width>
<height>20</height>
@ -81,7 +81,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>10</height>
@ -157,7 +157,7 @@
<property name="text">
<string>Permissions:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter</set>
</property>
</widget>
@ -219,7 +219,7 @@
<property name="text">
<string>Created:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -238,7 +238,7 @@
<property name="text">
<string>Last read:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -257,7 +257,7 @@
<property name="text">
<string>Last modified:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@ -422,7 +422,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout5</cstring>
<cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@ -430,7 +430,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
<cstring>tqlayout3</cstring>
</property>
<vbox>
<property name="name">
@ -443,7 +443,7 @@
<property name="text">
<string>Type:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -454,7 +454,7 @@
<property name="text">
<string>Number of frames:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -473,7 +473,7 @@
<property name="text">
<string>Current frame</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -492,7 +492,7 @@
<property name="text">
<string>Delay:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -503,7 +503,7 @@
<property name="text">
<string>Dimensions:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -514,7 +514,7 @@
<property name="text">
<string>Bits per pixel:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -525,7 +525,7 @@
<property name="text">
<string>Color space:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -536,7 +536,7 @@
<property name="text">
<string>Compression:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -547,7 +547,7 @@
<property name="text">
<string>Uncompressed size:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -566,7 +566,7 @@
<property name="text">
<string>Compression ratio:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -585,7 +585,7 @@
<property name="text">
<string>Interlaced:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -602,9 +602,9 @@
</sizepolicy>
</property>
<property name="text">
<string>Status:</string>
<string>tqStatus:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignTop|AlignRight</set>
</property>
</widget>
@ -618,7 +618,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>210</width>
<height>16</height>
@ -629,7 +629,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<vbox>
<property name="name">
@ -789,7 +789,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@ -813,7 +813,7 @@
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textStatus</cstring>
<cstring>texttqStatus</cstring>
</property>
<property name="text">
<string></string>
@ -831,7 +831,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>205</width>
<height>16</height>
@ -926,7 +926,7 @@
<include location="global" impldecl="in implementation">kstdaction.h</include>
<include location="global" impldecl="in implementation">kaction.h</include>
<include location="global" impldecl="in implementation">tqapplication.h</include>
<include location="global" impldecl="in implementation">clipboard.h</include>
<include location="global" impldecl="in implementation">tqclipboard.h</include>
<include location="global" impldecl="in implementation">tqdir.h</include>
<include location="local" impldecl="in implementation">sq_iconloader.h</include>
<include location="global" impldecl="in implementation">tqbuttongroup.h</include>

@ -69,11 +69,11 @@ void SQ_ImageProperties::setParams(TQStringList &l)
int errors = (*it).toInt(); ++it;
textFrames->setText(*it); ++it;
textFrame->setText(*it); ++it;
TQString s = TQString::fromLatin1("%1").arg(i18n("1 error", "%n errors", errors));
textStatus->setText((errors)?s:TQString());
TQString s = TQString::tqfromLatin1("%1").tqarg(i18n("1 error", "%n errors", errors));
texttqStatus->setText((errors)?s:TQString());
textStatusIcon->setPixmap((errors)?error:ok);
s = TQString::fromLatin1("%1%2").arg(*it).arg(i18n(" ms."));
s = TQString::tqfromLatin1("%1%2").tqarg(*it).tqarg(i18n(" ms."));
textDelay->setText(s);
}
@ -115,7 +115,7 @@ void SQ_ImageProperties::setFileParams()
kew1->loadFile(file);
// hack to workaround poor libkexif API
TQObjectList *ch = const_cast<TQObjectList *>(kew1->children());
TQObjectList *ch = const_cast<TQObjectList *>(kew1->tqchildren());
for(TQObjectList::iterator it = ch->begin();it != ch->end();++it)
{
if((*it)->inherits(TQLISTVIEW_OBJECT_NAME_STRING))
@ -162,9 +162,9 @@ void SQ_ImageProperties::setMetaInfo(TQValueVector<TQPair<TQString,TQString> > m
for(TQValueVector<TQPair<TQString,TQString> >::iterator it = meta.begin();it != itEnd;++it)
{
if(after)
item = new TQListViewItem(listMeta, after, (*it).first+TQString::fromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
item = new TQListViewItem(listMeta, after, (*it).first+TQString::tqfromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
else
after = item = new TQListViewItem(listMeta, (*it).first+TQString::fromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
after = item = new TQListViewItem(listMeta, (*it).first+TQString::tqfromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' ')));
listMeta->insertItem(item);
}
@ -192,7 +192,7 @@ void SQ_ImageProperties::slotContextMenu( TQListViewItem *item, const TQPoint &p
void SQ_ImageProperties::slotCopyString()
{
TQApplication::clipboard()->setText(data->text(z), TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText(data->text(z), TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyAll()
@ -208,7 +208,7 @@ void SQ_ImageProperties::slotCopyAll()
app.append(item->text(0) + "\n" + item->text(1) + "\n");
}
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyEntry()
@ -218,7 +218,7 @@ void SQ_ImageProperties::slotCopyEntry()
TQString app = data->text(0) + "\n" + data->text(1) + "\n";
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotModeClicked(int id)
@ -243,8 +243,8 @@ void SQ_ImageProperties::slotStatResult(KIO::Job *job)
lineFile->setText(fi.name());
textSize->setText(KIO::convertSize(fi.size()));
textOwner->setText(TQString("%1").arg(fi.user()));
textGroup->setText(TQString("%1").arg(fi.group()));
textOwner->setText(TQString("%1").tqarg(fi.user()));
textGroup->setText(TQString("%1").tqarg(fi.group()));
textPermissions->setText(fi.permissionsString());
TQDateTime abs;

@ -252,8 +252,8 @@ void SQ_LibraryHandler::add(TQStringList &foundLibraries)
libtmp.lib->load();
// resolve create() and destroy() functions
libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve(TQString::fromLatin1("codec_create"));
libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve(TQString::fromLatin1("codec_destroy"));
libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve(TQString::tqfromLatin1("codec_create"));
libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve(TQString::tqfromLatin1("codec_destroy"));
// couldn't resolve - corrupted library ?
if(!libtmp.codec_create || !libtmp.codec_destroy)

@ -21,13 +21,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<property name="tqmaximumSize">
<size>
<width>10000</width>
<height>10000</height>
@ -61,7 +61,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout5</cstring>
<cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@ -77,7 +77,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>400</width>
<height>20</height>
@ -164,7 +164,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@ -466,7 +466,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>10</height>
@ -496,7 +496,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>26</width>
<height>10</height>
@ -590,7 +590,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@ -688,7 +688,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>10</height>
@ -872,7 +872,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout8</cstring>
<cstring>tqlayout8</cstring>
</property>
<hbox>
<property name="name">
@ -981,7 +981,7 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<property name="tqminimumSize">
<size>
<width>95</width>
<height>25</height>
@ -1061,7 +1061,7 @@
<property name="text">
<string></string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@ -1077,7 +1077,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>2</height>
@ -1151,7 +1151,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>2</height>
@ -1243,7 +1243,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>50</height>
@ -1273,7 +1273,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@ -1473,7 +1473,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@ -1511,7 +1511,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>46</height>
@ -1659,7 +1659,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>21</width>
<height>135</height>
@ -1697,7 +1697,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>21</width>
<height>90</height>
@ -1751,7 +1751,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>21</width>
<height>10</height>

@ -89,7 +89,7 @@ void SQ_Options::init()
buttonGroupColor->setButton(tp);
widgetStack4->raiseWidget(tp);
kColorSystem->setColor(colorGroup().color(TQColorGroup::Base));
kColorSystem->setColor(tqcolorGroup().color(TQColorGroup::Base));
tp = kconf->readNumEntry("zoom limit", 1);
buttonGroupZoomLimit->setButton(tp);
@ -292,14 +292,14 @@ void SQ_Options::slotNewCustomTexture( const TQString & path)
if(validPixmap(p1))
{
custpixmap = path;
textCustomValidate->setText(TQString::fromLatin1("%1x%2: OK")
.arg(p1.width())
.arg(p1.height()));
textCustomValidate->setText(TQString::tqfromLatin1("%1x%2: OK")
.tqarg(p1.width())
.tqarg(p1.height()));
}
else
textCustomValidate->setText(i18n("Wrong dimensions: %1x%2.")
.arg(p1.width())
.arg(p1.height()));
.tqarg(p1.width())
.tqarg(p1.height()));
}
void SQ_Options::slotShowPage()
@ -324,10 +324,10 @@ void SQ_Options::paletteChange( const TQPalette &oldPalette )
{
TQDialog::paletteChange(oldPalette);
kColorSystem->setColor(colorGroup().color(TQColorGroup::Base));
kColorSystem->setColor(tqcolorGroup().color(TQColorGroup::Base));
}
void SQ_Options::slotSetSystemBack( const TQColor & )
{
kColorSystem->setColor(colorGroup().color(TQColorGroup::Base));
kColorSystem->setColor(tqcolorGroup().color(TQColorGroup::Base));
}

@ -126,7 +126,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<grid>
<property name="name">
@ -163,7 +163,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>70</width>
<height>16</height>
@ -195,7 +195,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>layout6</cstring>
<cstring>tqlayout6</cstring>
</property>
<hbox>
<property name="name">
@ -211,7 +211,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>445</width>
<height>16</height>

@ -22,7 +22,7 @@
#include <limits.h>
#include <tqpainter.h>
#include <brush.h>
#include <tqbrush.h>
#include <tqpen.h>
#include <kglobalsettings.h>

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -40,7 +40,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>220</width>
<height>26</height>
@ -86,7 +86,7 @@
<property name="text">
<string>Directory:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -100,7 +100,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>175</width>
<height>16</height>
@ -142,7 +142,7 @@
<property name="text">
<string>Delay:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -153,7 +153,7 @@
<property name="text">
<string>Repeats:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -164,7 +164,7 @@
<property name="text">
<string>Recursively</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -186,7 +186,7 @@
<property name="text">
<string>Show file size</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -200,7 +200,7 @@
<property name="text">
<string>Show current index</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -225,7 +225,7 @@
<property name="text">
<string>Show file name</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -258,7 +258,7 @@
<property name="text">
<string>Background color:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -280,7 +280,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>186</width>
<height>16</height>
@ -294,7 +294,7 @@
<property name="text">
<string>Onscreen messages</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
@ -316,7 +316,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>145</width>
<height>16</height>
@ -344,13 +344,13 @@
<property name="text">
<string>Message text color:</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
<widget class="TQLayoutWidget" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>layout3</cstring>
<cstring>tqlayout3</cstring>
</property>
<hbox>
<property name="name">

@ -73,7 +73,7 @@
<property name="textFormat">
<enum>RichText</enum>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter</set>
</property>
</widget>

@ -17,6 +17,6 @@ void SQ_SlideShowListing::init()
void SQ_SlideShowListing::setFile(int count, const TQString &f)
{
textCount->setText(TQString::fromLatin1("[%1]").arg(count));
textCount->setText(TQString::tqfromLatin1("[%1]").tqarg(count));
textFile->setText(f);
}

@ -346,7 +346,7 @@ void SQ_SlideShowWidget::constructMessage()
TQFileInfo fm(path);
TQString s_message;
if(mes_pos) s_message = TQString::fromLatin1("[%1/%2] ").arg(current+1).arg(total);
if(mes_pos) s_message = TQString::tqfromLatin1("[%1/%2] ").tqarg(current+1).tqarg(total);
if(mes_name) s_message += fm.fileName();

@ -56,7 +56,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>10</width>
<height>31</height>

@ -46,7 +46,7 @@
<property name="text">
<string></string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
@ -96,7 +96,7 @@
<property name="text">
<string></string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
@ -138,7 +138,7 @@
</widget>
<widget class="TQLayoutWidget" row="7" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout1</cstring>
<cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@ -154,7 +154,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>195</width>
<height>21</height>

@ -65,9 +65,9 @@ void SQ_ThumbnailCacheMaster::slotClearMemoryCache()
void SQ_ThumbnailCacheMaster::slotCalcCacheMemory()
{
textCacheMemSize->setText(TQString::fromLatin1("%1/%2")
.arg(KIO::convertSize(SQ_PixmapCache::instance()->totalSize()))
.arg(KIO::convertSize(SQ_PixmapCache::instance()->cacheLimit())));
textCacheMemSize->setText(TQString::tqfromLatin1("%1/%2")
.tqarg(KIO::convertSize(SQ_PixmapCache::instance()->totalSize()))
.tqarg(KIO::convertSize(SQ_PixmapCache::instance()->cacheLimit())));
}
void SQ_ThumbnailCacheMaster::slotShowDiskCache()

@ -257,7 +257,7 @@ void SQ_ThumbnailLoadJob::slotResult(KIO::Job *job)
mState = STATE_PREDOWNLOAD;
continueDownload = false;
tmp = new KTempFile(TQString(), TQString::fromLatin1(".%1").arg(suff), 0600);
tmp = new KTempFile(TQString(), TQString::tqfromLatin1(".%1").tqarg(suff), 0600);
tmp->setAutoDelete(true);
tmp->close();

@ -1883,7 +1883,7 @@ TQImage scale(const TQImage& image, int width, int height,
if( image.isNull()) return image.copy();
TQSize newSize( image.size() );
newSize.scale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0
newSize.tqscale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0
newSize = newSize.expandedTo( TQSize( 1, 1 )); // make sure it doesn't become null
if ( newSize == image.size() ) return image.copy();

@ -96,7 +96,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>layout2</cstring>
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@ -109,7 +109,7 @@
<property name="text">
<string>&lt;b&gt;Total:&lt;/b&gt;</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignVCenter</set>
</property>
</widget>
@ -120,7 +120,7 @@
<property name="textFormat">
<enum>RichText</enum>
</property>
<property name="alignment">
<property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
@ -134,7 +134,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>

@ -9,7 +9,7 @@
void SQ_ViewCache::init()
{
textTotal->setText(TQString("<b>%1</b>").arg((int)SQ_PixmapCache::instance()->count()));
textTotal->setText(TQString("<b>%1</b>").tqarg((int)SQ_PixmapCache::instance()->count()));
if(SQ_PixmapCache::instance()->isEmpty())
return;
@ -31,10 +31,10 @@ void SQ_ViewCache::init()
if(itemafter)
item = new TQListViewItem(listCache, itemafter, s,
TQString(), TQString::fromLatin1("%1x%2").arg(th.w).arg(th.h));
TQString(), TQString::tqfromLatin1("%1x%2").tqarg(th.w).tqarg(th.h));
else
item = new TQListViewItem(listCache, s,
TQString(), TQString::fromLatin1("%1x%2").arg(th.w).arg(th.h));
TQString(), TQString::tqfromLatin1("%1x%2").tqarg(th.w).tqarg(th.h));
item->setPixmap(1, it.data().mime);

@ -583,11 +583,11 @@ void SQ_WidgetStack::emitNewLastURL(const KURL &u)
TQString targ = KStringHandler::csqueeze(u.isLocalFile() ? u.path() : u.prettyURL(), 25);
if(fileaction == SQ_WidgetStack::Copy)
text = i18n("Repeat (copy to %1)").arg(targ);
text = i18n("Repeat (copy to %1)").tqarg(targ);
else if(fileaction == SQ_WidgetStack::Cut)
text = i18n("Repeat (move to %1)").arg(targ);
text = i18n("Repeat (move to %1)").tqarg(targ);
else if(fileaction == SQ_WidgetStack::Link)
text = i18n("Repeat (link to %1)").arg(targ);
text = i18n("Repeat (link to %1)").tqarg(targ);
if(!text.isEmpty())
emit newLastURL(text);

Loading…
Cancel
Save