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

This reverts commit 04563c466a.
pull/4/head
Timothy Pearson 13 years ago
parent 04563c466a
commit 20d069ce4f

@ -354,7 +354,7 @@ void BeagleSearch::hits_added_cb (BeagleQuery *query, BeagleHitsAddedResponse *r
const char *property = (char*)properties->data; const char *property = (char*)properties->data;
if (property) { if (property) {
if (propertiesInfo[i].label) { if (propertiesInfo[i].label) {
TQString propertystr = i18n(propertiesInfo[i].label).arg(property); TQString propertystr = i18n(propertiesInfo[i].label).tqarg(property);
result->properties.append(propertystr); result->properties.append(propertystr);
} }
else else

@ -27,7 +27,7 @@
#include <klocale.h> #include <klocale.h>
#include <kurllabel.h> #include <kurllabel.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>
#include <layout.h> #include <tqlayout.h>
#include <konq_filetip.h> #include <konq_filetip.h>
#include <tqscrollview.h> #include <tqscrollview.h>

@ -48,7 +48,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>1</height> <height>1</height>
@ -73,7 +73,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Fixed</enum> <enum>Fixed</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>2</height> <height>2</height>
@ -92,13 +92,13 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>64</width> <width>64</width>
<height>64</height> <height>64</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="tqmaximumSize">
<size> <size>
<width>64</width> <width>64</width>
<height>64</height> <height>64</height>
@ -107,7 +107,7 @@
<property name="pixmap"> <property name="pixmap">
<pixmap>image0</pixmap> <pixmap>image0</pixmap>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignCenter</set> <set>AlignCenter</set>
</property> </property>
</widget> </widget>
@ -129,7 +129,7 @@
<property name="textFormat"> <property name="textFormat">
<enum>RichText</enum> <enum>RichText</enum>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>WordBreak|AlignCenter</set> <set>WordBreak|AlignCenter</set>
</property> </property>
</widget> </widget>
@ -143,7 +143,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>0</height> <height>0</height>
@ -162,7 +162,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Fixed</enum> <enum>Fixed</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>8</width> <width>8</width>
<height>20</height> <height>20</height>
@ -179,7 +179,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Fixed</enum> <enum>Fixed</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>8</width> <width>8</width>
<height>20</height> <height>20</height>
@ -188,7 +188,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget" row="0" column="4" rowspan="2"> <widget class="TQLayoutWidget" row="0" column="4" rowspan="2">
<property name="name"> <property name="name">
<cstring>layout8</cstring> <cstring>tqlayout8</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -218,7 +218,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>210</width> <width>210</width>
<height>1</height> <height>1</height>
@ -229,7 +229,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>layout27</cstring> <cstring>tqlayout27</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -251,7 +251,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Fixed</enum> <enum>Fixed</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>16</width> <width>16</width>
<height>20</height> <height>20</height>
@ -287,7 +287,7 @@
<property name="text"> <property name="text">
<string>Description</string> <string>Description</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>WordBreak|AlignTop</set> <set>WordBreak|AlignTop</set>
</property> </property>
</widget> </widget>
@ -306,7 +306,7 @@
<property name="text"> <property name="text">
<string>Properties</string> <string>Properties</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>WordBreak|AlignTop</set> <set>WordBreak|AlignTop</set>
</property> </property>
</widget> </widget>
@ -328,7 +328,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>10</width> <width>10</width>
<height>0</height> <height>0</height>
@ -351,7 +351,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>MinimumExpanding</enum> <enum>MinimumExpanding</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>10</width> <width>10</width>
<height>0</height> <height>0</height>

@ -25,7 +25,7 @@
#include <tqdom.h> #include <tqdom.h>
#include <tqfile.h> #include <tqfile.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <layout.h> #include <tqlayout.h>
#include <kdialog.h> #include <kdialog.h>
#include <klocale.h> #include <klocale.h>
@ -102,7 +102,7 @@ void KCMBeagleBackends::save()
void KCMBeagleBackends::gotAvailableBackends(KProcess*, char *buffer, int len) void KCMBeagleBackends::gotAvailableBackends(KProcess*, char *buffer, int len)
{ {
TQString myBuf = TQString::fromLatin1(buffer, len); TQString myBuf = TQString::tqfromLatin1(buffer, len);
if (myBuf.startsWith("User:")) { if (myBuf.startsWith("User:")) {
TQStringList list = TQStringList::split('\n',myBuf); TQStringList list = TQStringList::split('\n',myBuf);
for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it ) for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it )

@ -19,7 +19,7 @@
******************************************************************/ ******************************************************************/
#include <layout.h> #include <tqlayout.h>
#include <tqtabwidget.h> #include <tqtabwidget.h>
#include <kdebug.h> #include <kdebug.h>
#include <kdialog.h> #include <kdialog.h>
@ -36,18 +36,18 @@ KCMBeagle::KCMBeagle(TQWidget *parent, const char *name)
{ {
setButtons(Default+Apply); setButtons(Default+Apply);
TQVBoxLayout *layout = new TQVBoxLayout(this); TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
m_tab = new TQTabWidget(this); m_tab = new TQTabWidget(this);
layout->addWidget(m_tab); tqlayout->addWidget(m_tab);
m_indexing = new KCMBeagleIndexing( m_tab, name ); m_indexing = new KCMBeagleIndexing( m_tab, name );
m_indexing->layout()->setMargin( KDialog::marginHint() ); m_indexing->tqlayout()->setMargin( KDialog::marginHint() );
m_backends = new KCMBeagleBackends( m_tab, name ); m_backends = new KCMBeagleBackends( m_tab, name );
m_backends->layout()->setMargin( KDialog::marginHint() ); m_backends->tqlayout()->setMargin( KDialog::marginHint() );
m_status = new KCMBeagleStatus( m_tab, name ); m_status = new KCMBeagletqStatus( m_tab, name );
m_status->layout()->setMargin( KDialog::marginHint() ); m_status->tqlayout()->setMargin( KDialog::marginHint() );
m_tab->addTab(m_indexing, i18n("&Indexing")); m_tab->addTab(m_indexing, i18n("&Indexing"));
m_tab->addTab(m_backends, i18n("&Backends")); m_tab->addTab(m_backends, i18n("&Backends"));

@ -25,7 +25,7 @@
#include <tqdom.h> #include <tqdom.h>
#include <tqgroupbox.h> #include <tqgroupbox.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <layout.h> #include <tqlayout.h>
#include <tqradiobutton.h> #include <tqradiobutton.h>
#include <kconfig.h> #include <kconfig.h>
#include <kdialog.h> #include <kdialog.h>
@ -47,7 +47,7 @@ KCMBeagleIndexing::KCMBeagleIndexing(TQWidget *parent, const char * )
TQGroupBox* gb_general = new TQGroupBox(0, Qt::Vertical, i18n("General"), this); TQGroupBox* gb_general = new TQGroupBox(0, Qt::Vertical, i18n("General"), this);
top_layout->addWidget(gb_general); top_layout->addWidget(gb_general);
gb_general->setFlat(true); gb_general->setFlat(true);
TQVBoxLayout* gb_general_layout = new TQVBoxLayout( gb_general->layout(), KDialog::spacingHint() ); TQVBoxLayout* gb_general_layout = new TQVBoxLayout( gb_general->tqlayout(), KDialog::spacingHint() );
startBeagle = new TQCheckBox(i18n("Start Beagle indexing service automatically"), gb_general); startBeagle = new TQCheckBox(i18n("Start Beagle indexing service automatically"), gb_general);
gb_general_layout->addWidget( startBeagle); gb_general_layout->addWidget( startBeagle);
@ -59,7 +59,7 @@ KCMBeagleIndexing::KCMBeagleIndexing(TQWidget *parent, const char * )
TQGroupBox* gb_index = new TQGroupBox(0, Qt::Vertical, i18n("Index"), this); TQGroupBox* gb_index = new TQGroupBox(0, Qt::Vertical, i18n("Index"), this);
top_layout->addWidget(gb_index); top_layout->addWidget(gb_index);
gb_index->setFlat(true); gb_index->setFlat(true);
TQVBoxLayout* gb_index_layout = new TQVBoxLayout( gb_index->layout(), KDialog::spacingHint() ); TQVBoxLayout* gb_index_layout = new TQVBoxLayout( gb_index->tqlayout(), KDialog::spacingHint() );
TQHBoxLayout* qh_index = new TQHBoxLayout(gb_index_layout); TQHBoxLayout* qh_index = new TQHBoxLayout(gb_index_layout);
indexHome = new TQCheckBox(i18n("Index my home folder"), gb_index); indexHome = new TQCheckBox(i18n("Index my home folder"), gb_index);
@ -96,7 +96,7 @@ KCMBeagleIndexing::KCMBeagleIndexing(TQWidget *parent, const char * )
TQGroupBox* gb_privacy = new TQGroupBox(0, Qt::Vertical, i18n("Privacy"), this); TQGroupBox* gb_privacy = new TQGroupBox(0, Qt::Vertical, i18n("Privacy"), this);
top_layout->addWidget(gb_privacy); top_layout->addWidget(gb_privacy);
gb_privacy->setFlat(true); gb_privacy->setFlat(true);
TQVBoxLayout* gb_privacy_layout = new TQVBoxLayout( gb_privacy->layout(), KDialog::spacingHint() ); TQVBoxLayout* gb_privacy_layout = new TQVBoxLayout( gb_privacy->tqlayout(), KDialog::spacingHint() );
TQLabel* label_privacy = new TQLabel(i18n( "Specify any resource, such as folder or pattern, you wish to exclude from indexing." ), gb_privacy); TQLabel* label_privacy = new TQLabel(i18n( "Specify any resource, such as folder or pattern, you wish to exclude from indexing." ), gb_privacy);
gb_privacy_layout->addWidget(label_privacy); gb_privacy_layout->addWidget(label_privacy);

@ -19,7 +19,7 @@
******************************************************************/ ******************************************************************/
#include <layout.h> #include <tqlayout.h>
#include <tqtabwidget.h> #include <tqtabwidget.h>
#include <dcopclient.h> #include <dcopclient.h>
#include <kapplication.h> #include <kapplication.h>
@ -39,20 +39,20 @@ KCMKerry::KCMKerry(TQWidget *parent, const char *name)
{ {
setButtons(Default+Apply); setButtons(Default+Apply);
TQVBoxLayout *layout = new TQVBoxLayout(this); TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
m_tab = new TQTabWidget(this); m_tab = new TQTabWidget(this);
layout->addWidget(m_tab); tqlayout->addWidget(m_tab);
m_search = new KCMKerrySearch( m_tab, name ); m_search = new KCMKerrySearch( m_tab, name );
m_search->layout()->setMargin( KDialog::marginHint() ); m_search->tqlayout()->setMargin( KDialog::marginHint() );
m_indexing = new KCMBeagleIndexing( m_tab, name ); m_indexing = new KCMBeagleIndexing( m_tab, name );
m_indexing->layout()->setMargin( KDialog::marginHint() ); m_indexing->tqlayout()->setMargin( KDialog::marginHint() );
m_backends = new KCMBeagleBackends( m_tab, name ); m_backends = new KCMBeagleBackends( m_tab, name );
m_backends->layout()->setMargin( KDialog::marginHint() ); m_backends->tqlayout()->setMargin( KDialog::marginHint() );
m_status = new KCMBeagleStatus( m_tab, name ); m_status = new KCMBeagletqStatus( m_tab, name );
m_status->layout()->setMargin( KDialog::marginHint() ); m_status->tqlayout()->setMargin( KDialog::marginHint() );
m_tab->addTab(m_search, i18n("&Search")); m_tab->addTab(m_search, i18n("&Search"));
m_tab->addTab(m_indexing, i18n("&Indexing")); m_tab->addTab(m_indexing, i18n("&Indexing"));

@ -32,7 +32,7 @@ KCMKerrySearch::KCMKerrySearch(TQWidget *parent, const char * )
TQGroupBox* gb_general = new TQGroupBox(0, Qt::Vertical, i18n("General"), this); TQGroupBox* gb_general = new TQGroupBox(0, Qt::Vertical, i18n("General"), this);
gb_general->setFlat(true); gb_general->setFlat(true);
top_layout->addWidget(gb_general); top_layout->addWidget(gb_general);
TQVBoxLayout* gb_general_layout = new TQVBoxLayout( gb_general->layout(), KDialog::spacingHint() ); TQVBoxLayout* gb_general_layout = new TQVBoxLayout( gb_general->tqlayout(), KDialog::spacingHint() );
TQHBoxLayout* qh_layout = new TQHBoxLayout(gb_general_layout); TQHBoxLayout* qh_layout = new TQHBoxLayout(gb_general_layout);
TQLabel* label_order = new TQLabel(i18n("Default result sort order:"), gb_general); TQLabel* label_order = new TQLabel(i18n("Default result sort order:"), gb_general);
@ -60,7 +60,7 @@ KCMKerrySearch::KCMKerrySearch(TQWidget *parent, const char * )
// Global Shortcuts // Global Shortcuts
TQGroupBox* gb_keys = new TQGroupBox(0, Qt::Vertical, i18n("Global Shortcuts"), this); TQGroupBox* gb_keys = new TQGroupBox(0, Qt::Vertical, i18n("Global Shortcuts"), this);
TQVBoxLayout* gb_keys_layout = new TQVBoxLayout( gb_keys->layout(), KDialog::spacingHint() ); TQVBoxLayout* gb_keys_layout = new TQVBoxLayout( gb_keys->tqlayout(), KDialog::spacingHint() );
top_layout->addWidget(gb_keys); top_layout->addWidget(gb_keys);
gb_keys->setFlat(true); gb_keys->setFlat(true);

@ -25,7 +25,7 @@
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <tqgroupbox.h> #include <tqgroupbox.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <layout.h> #include <tqlayout.h>
#include <tqspinbox.h> #include <tqspinbox.h>
#include <tqwhatsthis.h> #include <tqwhatsthis.h>
#include <kcmodule.h> #include <kcmodule.h>

@ -24,7 +24,7 @@
#include <tqdatetime.h> #include <tqdatetime.h>
#include <tqhbox.h> #include <tqhbox.h>
#include <layout.h> #include <tqlayout.h>
#include <tqtimer.h> #include <tqtimer.h>
#include <kdialog.h> #include <kdialog.h>
#include <klocale.h> #include <klocale.h>
@ -36,7 +36,7 @@ extern "C" {
#include <beagle/beagle.h> #include <beagle/beagle.h>
} }
KCMBeagleStatus::KCMBeagleStatus(TQWidget *parent, const char * ) KCMBeagletqStatus::KCMBeagletqStatus(TQWidget *parent, const char * )
: KCModule(parent, "kcmbeaglestatus") : KCModule(parent, "kcmbeaglestatus")
{ {
TQVBoxLayout* general_layout = new TQVBoxLayout( this, KDialog::spacingHint() ); TQVBoxLayout* general_layout = new TQVBoxLayout( this, KDialog::spacingHint() );
@ -71,29 +71,29 @@ KCMBeagleStatus::KCMBeagleStatus(TQWidget *parent, const char * )
dummy = new TQWidget( footer_box ); dummy = new TQWidget( footer_box );
footer_box->setStretchFactor( dummy, 1 ); footer_box->setStretchFactor( dummy, 1 );
pb_refresh = new KPushButton (i18n("Refresh Status"), footer_box); pb_refresh = new KPushButton (i18n("Refresh Status"), footer_box);
connect (pb_refresh, TQT_SIGNAL (clicked()), this, TQT_SLOT (refreshStatus ()) ); connect (pb_refresh, TQT_SIGNAL (clicked()), this, TQT_SLOT (refreshtqStatus ()) );
g_type_init (); g_type_init ();
refreshStatus (); refreshtqStatus ();
load(); load();
} }
KCMBeagleStatus::~KCMBeagleStatus() KCMBeagletqStatus::~KCMBeagletqStatus()
{ {
} }
void KCMBeagleStatus::load() void KCMBeagletqStatus::load()
{ {
load( false ); load( false );
} }
void KCMBeagleStatus::load( bool useDefaults ) void KCMBeagletqStatus::load( bool useDefaults )
{ {
emit changed( useDefaults ); emit changed( useDefaults );
} }
void KCMBeagleStatus::defaults() void KCMBeagletqStatus::defaults()
{ {
// if (!beagle_util_daemon_is_running ()) // if (!beagle_util_daemon_is_running ())
// controlPressed(); // controlPressed();
@ -101,12 +101,12 @@ void KCMBeagleStatus::defaults()
load( true ); load( true );
} }
void KCMBeagleStatus::save() void KCMBeagletqStatus::save()
{ {
} }
bool KCMBeagleStatus::refreshDaemonStatus () bool KCMBeagletqStatus::refreshDaemontqStatus ()
{ {
gboolean is_running = beagle_util_daemon_is_running (); gboolean is_running = beagle_util_daemon_is_running ();
if (is_running) { if (is_running) {
@ -121,12 +121,12 @@ bool KCMBeagleStatus::refreshDaemonStatus ()
return is_running; return is_running;
} }
void KCMBeagleStatus::refreshStatus () void KCMBeagletqStatus::refreshtqStatus ()
{ {
pb_refresh->setDisabled (TRUE); pb_refresh->setDisabled (TRUE);
bool is_running = refreshDaemonStatus (); bool is_running = refreshDaemontqStatus ();
status_box->setTitle ( TQString ("[%1] ").arg (TQDateTime::currentDateTime ().toString ()) ); status_box->setTitle ( TQString ("[%1] ").arg (TQDateTime::tqcurrentDateTime ().toString ()) );
if (! is_running) { if (! is_running) {
version_label->setText (i18n("Service not started.")); version_label->setText (i18n("Service not started."));
pb_refresh->setDisabled (FALSE); pb_refresh->setDisabled (FALSE);
@ -157,25 +157,25 @@ void KCMBeagleStatus::refreshStatus ()
pb_refresh->setDisabled (FALSE); pb_refresh->setDisabled (FALSE);
} }
void KCMBeagleStatus::controlPressed () void KCMBeagletqStatus::controlPressed ()
{ {
pb_control->setDisabled (TRUE); pb_control->setDisabled (TRUE);
if (last_status) { if (last_status) {
if (stopBeagle ()) if (stopBeagle ())
TQTimer::singleShot (1000, this, TQT_SLOT (verifyStatus ())); TQTimer::singleShot (1000, this, TQT_SLOT (verifytqStatus ()));
} else { } else {
if (startBeagle ()) if (startBeagle ())
TQTimer::singleShot (5000, this, TQT_SLOT (verifyStatus ())); TQTimer::singleShot (5000, this, TQT_SLOT (verifytqStatus ()));
} }
} }
void KCMBeagleStatus::verifyStatus () void KCMBeagletqStatus::verifytqStatus ()
{ {
pb_control->setEnabled (TRUE); pb_control->setEnabled (TRUE);
refreshDaemonStatus (); refreshDaemontqStatus ();
} }
bool KCMBeagleStatus::stopBeagle () bool KCMBeagletqStatus::stopBeagle ()
{ {
gboolean is_running = beagle_util_daemon_is_running (); gboolean is_running = beagle_util_daemon_is_running ();
if (! is_running) { if (! is_running) {
@ -194,7 +194,7 @@ bool KCMBeagleStatus::stopBeagle ()
return true; return true;
} }
bool KCMBeagleStatus::startBeagle () bool KCMBeagletqStatus::startBeagle ()
{ {
gboolean is_running = beagle_util_daemon_is_running (); gboolean is_running = beagle_util_daemon_is_running ();
if (is_running) { if (is_running) {

@ -25,18 +25,18 @@
#include <tqlabel.h> #include <tqlabel.h>
#include <tqgroupbox.h> #include <tqgroupbox.h>
#include <textedit.h> #include <tqtextedit.h>
#include <kcmodule.h> #include <kcmodule.h>
#include <kpushbutton.h> #include <kpushbutton.h>
class KCMBeagleStatus : public KCModule class KCMBeagletqStatus : public KCModule
{ {
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
KCMBeagleStatus(TQWidget *parent=0, const char *name=0); KCMBeagletqStatus(TQWidget *parent=0, const char *name=0);
~KCMBeagleStatus(); ~KCMBeagletqStatus();
virtual void load(); virtual void load();
virtual void load( bool useDefaults ); virtual void load( bool useDefaults );
@ -44,12 +44,12 @@ public:
virtual void defaults(); virtual void defaults();
private slots: private slots:
void refreshStatus (); void refreshtqStatus ();
void controlPressed (); void controlPressed ();
void verifyStatus (); void verifytqStatus ();
private: private:
bool refreshDaemonStatus (); bool refreshDaemontqStatus ();
bool stopBeagle (); bool stopBeagle ();
bool startBeagle (); bool startBeagle ();

@ -20,7 +20,7 @@
#include <tqstring.h> #include <tqstring.h>
#include <tqstringlist.h> #include <tqstringlist.h>
#include <tqdir.h> #include <tqdir.h>
#include <clipboard.h> #include <tqclipboard.h>
#include <kfiledialog.h> #include <kfiledialog.h>
#include <kcmdlineargs.h> #include <kcmdlineargs.h>
#include <fcntl.h> #include <fcntl.h>
@ -129,7 +129,7 @@ void KerryApplication::init(const KAboutData* /*about*/)
configChanged(); configChanged();
sysTrayIcon->setPixmap(sysTrayIcon->loadIcon("kerry_systemtray")); sysTrayIcon->setPixmap(sysTrayIcon->loadIcon("kerry_systemtray"));
TQToolTip::add(sysTrayIcon, i18n("Kerry Beagle Search (%1)").arg(globalKeys->shortcut("Show Kerry Dialog").seq(0).toString())); TQToolTip::add(sysTrayIcon, i18n("Kerry Beagle Search (%1)").tqarg(globalKeys->shortcut("Show Kerry Dialog").seq(0).toString()));
sysTrayIcon->show(); sysTrayIcon->show();
@ -177,8 +177,8 @@ void KerryApplication::historySelected(int id)
void KerryApplication::searchPrimarySelection() void KerryApplication::searchPrimarySelection()
{ {
TQApplication::clipboard()->setSelectionMode( true ); TQApplication::tqclipboard()->setSelectionMode( true );
TQString text = TQApplication::clipboard()->text(); TQString text = TQApplication::tqclipboard()->text();
if (!text.isEmpty() && hitListWindow) if (!text.isEmpty() && hitListWindow)
hitListWindow->search(text); hitListWindow->search(text);
} }
@ -247,7 +247,7 @@ void KerryApplication::checkBeagleBuildIndex()
bool current_wapidir = false; bool current_wapidir = false;
for ( TQStringList::Iterator it = entryList.begin(); it != entryList.end(); ++it ) { for ( TQStringList::Iterator it = entryList.begin(); it != entryList.end(); ++it ) {
if ( TQFileInfo("tmp/"+(*it)).lastModified().date()==TQDate::currentDate() ) { if ( TQFileInfo("tmp/"+(*it)).lastModified().date()==TQDate::tqcurrentDate() ) {
current_wapidir=true; current_wapidir=true;
break; break;
} }

@ -23,8 +23,8 @@
#include "kwidgetlistbox.h" #include "kwidgetlistbox.h"
#include "kerrylabel.h" #include "kerrylabel.h"
#include <layout.h> #include <tqlayout.h>
#include <textcodec.h> #include <tqtextcodec.h>
#include <kdebug.h> #include <kdebug.h>
#include <kfiledialog.h> #include <kfiledialog.h>
#include <kpushbutton.h> #include <kpushbutton.h>
@ -127,13 +127,13 @@ static TQLabel* switchLabel[switchLabelCount] = {showEverything, showApplication
displayed_results.clear(); displayed_results.clear();
displayAmount = 5; displayAmount = 5;
displayOffset = 0; displayOffset = 0;
labelStatus->setAlignment(TQt::SingleLine); labeltqStatus->tqsetAlignment(TQt::SingleLine);
pPreviewJob = 0; pPreviewJob = 0;
pPreviewMimeTypes = 0; pPreviewMimeTypes = 0;
previewItems.clear(); previewItems.clear();
previewItems.setAutoDelete(true); previewItems.setAutoDelete(true);
pending_showQuickTips=true; pending_showQuickTips=true;
updateStatus(); updatetqStatus();
defaultSortOrder = Modified; defaultSortOrder = Modified;
currentSortOrder = defaultSortOrder; currentSortOrder = defaultSortOrder;
kapp->dcopClient()->setDefaultObject( objId() ); kapp->dcopClient()->setDefaultObject( objId() );
@ -190,7 +190,7 @@ void SearchDlg::showQuickTips()
tableHits->insertItem(item); tableHits->insertItem(item);
labelStatus->setText(""); labeltqStatus->setText("");
} }
void SearchDlg::search(const TQString & search) void SearchDlg::search(const TQString & search)
@ -253,7 +253,7 @@ void SearchDlg::setDisplayAmount(int amount)
tableHits->setUpdatesEnabled(false); tableHits->setUpdatesEnabled(false);
fillTableHits(); fillTableHits();
tableHits->setUpdatesEnabled(true); tableHits->setUpdatesEnabled(true);
updateStatus(); updatetqStatus();
} }
void SearchDlg::setSortOrder(int order) void SearchDlg::setSortOrder(int order)
@ -296,7 +296,7 @@ void SearchDlg::slotClear()
tableHits->clear(); tableHits->clear();
displayed_results.clear(); displayed_results.clear();
results.clear(); results.clear();
updateStatus(); updatetqStatus();
} }
void SearchDlg::slotPrevious() void SearchDlg::slotPrevious()
@ -308,7 +308,7 @@ void SearchDlg::slotPrevious()
tableHits->setUpdatesEnabled(false); tableHits->setUpdatesEnabled(false);
fillTableHits(); fillTableHits();
tableHits->setUpdatesEnabled(true); tableHits->setUpdatesEnabled(true);
updateStatus(); updatetqStatus();
} }
void SearchDlg::slotNext() void SearchDlg::slotNext()
@ -320,7 +320,7 @@ void SearchDlg::slotNext()
tableHits->setUpdatesEnabled(false); tableHits->setUpdatesEnabled(false);
fillTableHits(); fillTableHits();
tableHits->setUpdatesEnabled(true); tableHits->setUpdatesEnabled(true);
updateStatus(); updatetqStatus();
} }
void SearchDlg::sortFilterResults() void SearchDlg::sortFilterResults()
@ -330,7 +330,7 @@ void SearchDlg::sortFilterResults()
tableHits->clear(); tableHits->clear();
displayed_results.clear(); displayed_results.clear();
displayResults(results); displayResults(results);
updateStatus(); updatetqStatus();
} }
void SearchDlg::fillTableHits() void SearchDlg::fillTableHits()
@ -359,28 +359,28 @@ void SearchDlg::fillTableHits()
} }
} }
void SearchDlg::updateStatus() void SearchDlg::updatetqStatus()
{ {
buttonPrevious->setEnabled(displayOffset>0); buttonPrevious->setEnabled(displayOffset>0);
buttonNext->setEnabled(displayOffset+displayAmount<(int)displayed_results.count()); buttonNext->setEnabled(displayOffset+displayAmount<(int)displayed_results.count());
labelStatus->setAlignment(TQt::SingleLine); labeltqStatus->tqsetAlignment(TQt::SingleLine);
const int count = displayed_results.count(); const int count = displayed_results.count();
TQString text; TQString text;
if (displayAmount==1) if (displayAmount==1)
text=i18n("<b>%1 results</b> found.").arg(displayed_results.count()); text=i18n("<b>%1 results</b> found.").tqarg(displayed_results.count());
else if (count==0) else if (count==0)
text=i18n("<qt>No results.</qt>").replace("<qt>",TQString()).replace("</qt>",TQString()); text=i18n("<qt>No results.</qt>").replace("<qt>",TQString()).replace("</qt>",TQString());
else if (displayOffset==0) else if (displayOffset==0)
text=i18n("Best <b>%1 results of %2</b> shown.").arg(tableHits->count()).arg(displayed_results.count()); text=i18n("Best <b>%1 results of %2</b> shown.").tqarg(tableHits->count()).tqarg(displayed_results.count());
else else
text=i18n("Results <b>%1 through %2 of %3</b> are shown.").arg(displayOffset+1).arg(displayOffset+tableHits->count()).arg(displayed_results.count()); text=i18n("Results <b>%1 through %2 of %3</b> are shown.").tqarg(displayOffset+1).tqarg(displayOffset+tableHits->count()).tqarg(displayed_results.count());
#if 0 #if 0
if (still_searching) if (still_searching)
text=text+" <b>"+i18n("(still searching)")+"</b>"; text=text+" <b>"+i18n("(still searching)")+"</b>";
#endif #endif
labelStatus->setText(text); labeltqStatus->setText(text);
} }
void SearchDlg::search() void SearchDlg::search()
@ -395,7 +395,7 @@ void SearchDlg::search()
tableHits->clear(); tableHits->clear();
HitWidget* item = new HitWidget(TQString(), TQString()); HitWidget* item = new HitWidget(TQString(), TQString());
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("The query for \"%1\" failed.").arg(current_query.get())); headerLabel->setText(i18n("The query for \"%1\" failed.").tqarg(current_query.get()));
item->insertHeaderWidget(0,headerLabel); item->insertHeaderWidget(0,headerLabel);
item->setIcon("messagebox_critical"); item->setIcon("messagebox_critical");
@ -415,12 +415,12 @@ void SearchDlg::search()
connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotStartBeagle())); connect(buttonStart, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotStartBeagle()));
tableHits->insertItem(item); tableHits->insertItem(item);
labelStatus->setText(""); labeltqStatus->setText("");
return; return;
} }
slotClear(); slotClear();
labelStatus->setText(i18n("Searching...")); labeltqStatus->setText(i18n("Searching..."));
// Beagle search // Beagle search
if (beagle_search != NULL) { if (beagle_search != NULL) {
@ -572,7 +572,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQDateTime datetime; TQDateTime datetime;
datetime.setTime_t(result->last_index_time); datetime.setTime_t(result->last_index_time);
if (datetime.date().year()>1970) if (datetime.date().year()>1970)
description = description + i18n("Last viewed: %1").arg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>"; description = description + i18n("Last viewed: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>";
} }
item->setDescriptionText(description +i18n("URL:")+" "+*(result->uri)+"</qt>"); item->setDescriptionText(description +i18n("URL:")+" "+*(result->uri)+"</qt>");
@ -587,7 +587,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
title = takeProperty("Title",_properties); title = takeProperty("Title",_properties);
headerFileLabel->setText(title.isEmpty() ? i18n("Untitled Page") : title); headerFileLabel->setText(title.isEmpty() ? i18n("Untitled Page") : title);
headerFileLabel->setAlignment(headerFileLabel->alignment() | TQt::SingleLine); headerFileLabel->tqsetAlignment(headerFileLabel->tqalignment() | TQt::SingleLine);
headerFileLabel->setURL(*(result->uri)); headerFileLabel->setURL(*(result->uri));
item->insertHeaderWidget(0,headerFileLabel); item->insertHeaderWidget(0,headerFileLabel);
connect(headerFileLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen())); connect(headerFileLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
@ -597,14 +597,14 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQDateTime datetime; TQDateTime datetime;
datetime.setTime_t(result->last_index_time); datetime.setTime_t(result->last_index_time);
item->setDescriptionText("<qt>"+ i18n("Published: %1").arg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>"); item->setDescriptionText("<qt>"+ i18n("Published: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>");
if (result->snippet) if (result->snippet)
item->setPropertiesText("<qt>"+*(result->snippet)+"</qt>"); item->setPropertiesText("<qt>"+*(result->snippet)+"</qt>");
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("Weblog:")); headerLabel->setText(i18n("Weblog:"));
headerLabel->setAlignment(headerLabel->alignment() | TQt::SingleLine); headerLabel->tqsetAlignment(headerLabel->tqalignment() | TQt::SingleLine);
item->insertHeaderWidget(0,headerLabel); item->insertHeaderWidget(0,headerLabel);
TQStringList _properties(result->properties); TQStringList _properties(result->properties);
@ -615,7 +615,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
KerryLabel *headerFileLabel = new KerryLabel(item); KerryLabel *headerFileLabel = new KerryLabel(item);
headerFileLabel->setText(title.isEmpty() ? i18n("Untitled Entry") : title); headerFileLabel->setText(title.isEmpty() ? i18n("Untitled Entry") : title);
headerFileLabel->setAlignment(headerFileLabel->alignment() | TQt::SingleLine); headerFileLabel->tqsetAlignment(headerFileLabel->tqalignment() | TQt::SingleLine);
headerFileLabel->setURL(identifier); headerFileLabel->setURL(identifier);
item->insertHeaderWidget(1,headerFileLabel); item->insertHeaderWidget(1,headerFileLabel);
connect(headerFileLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen())); connect(headerFileLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
@ -625,7 +625,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQDateTime datetime; TQDateTime datetime;
datetime.setTime_t(result->last_index_time); datetime.setTime_t(result->last_index_time);
item->setDescriptionText("<qt>"+ i18n("Last modified: %1").arg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>"); item->setDescriptionText("<qt>"+ i18n("Last modified: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>");
if (result->snippet) if (result->snippet)
item->setPropertiesText("<qt>"+*(result->snippet)+"</qt>"); item->setPropertiesText("<qt>"+*(result->snippet)+"</qt>");
@ -643,7 +643,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
item->setIcon("contents2"); item->setIcon("contents2");
TQDateTime datetime; TQDateTime datetime;
datetime.setTime_t(result->last_index_time); datetime.setTime_t(result->last_index_time);
item->setDescriptionText("<qt>"+ i18n("Last modified: %1").arg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>"); item->setDescriptionText("<qt>"+ i18n("Last modified: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false))+"<br>");
if (result->snippet) if (result->snippet)
@ -654,7 +654,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
KerryLabel *headerNoteLabel = new KerryLabel(item); KerryLabel *headerNoteLabel = new KerryLabel(item);
headerNoteLabel->setText(title.isEmpty() ? i18n("Untitled Entry") : title); headerNoteLabel->setText(title.isEmpty() ? i18n("Untitled Entry") : title);
headerNoteLabel->setAlignment(headerNoteLabel->alignment() | TQt::SingleLine); headerNoteLabel->tqsetAlignment(headerNoteLabel->tqalignment() | TQt::SingleLine);
headerNoteLabel->setURL(item->uri()); headerNoteLabel->setURL(item->uri());
item->insertHeaderWidget(0,headerNoteLabel); item->insertHeaderWidget(0,headerNoteLabel);
connect(headerNoteLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen())); connect(headerNoteLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
@ -668,9 +668,9 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQString properties; TQString properties;
TQDateTime datetime; TQDateTime datetime;
datetime = datetimeFromString(takeProperty("fixme:starttime",_properties)); datetime = datetimeFromString(takeProperty("fixme:starttime",_properties));
properties = properties + i18n("Start time: %1").arg(KGlobal::locale()->formatDateTime(datetime,false)) + "<br>"; properties = properties + i18n("Start time: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false)) + "<br>";
datetime = datetimeFromString(takeProperty("fixme:endtime",_properties)); datetime = datetimeFromString(takeProperty("fixme:endtime",_properties));
properties = properties + i18n("End time: %1").arg(KGlobal::locale()->formatDateTime(datetime,false)) + "<br>"; properties = properties + i18n("End time: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false)) + "<br>";
BeagleSearch::PropertyList::iterator it; BeagleSearch::PropertyList::iterator it;
for ( it = _properties.begin(); it != _properties.end(); ++it ) for ( it = _properties.begin(); it != _properties.end(); ++it )
@ -735,15 +735,15 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
number = addresseee.phoneNumber(KABC::PhoneNumber::Work).number(); number = addresseee.phoneNumber(KABC::PhoneNumber::Work).number();
if (!number.isEmpty()) if (!number.isEmpty())
properties=properties+i18n("Business phone: %1").arg(number)+"<br>"; properties=properties+i18n("Business phone: %1").tqarg(number)+"<br>";
number = addresseee.phoneNumber(KABC::PhoneNumber::Cell).number(); number = addresseee.phoneNumber(KABC::PhoneNumber::Cell).number();
if (!number.isEmpty()) if (!number.isEmpty())
properties=properties+i18n("Mobile phone: %1").arg(number)+"<br>"; properties=properties+i18n("Mobile phone: %1").tqarg(number)+"<br>";
number = addresseee.phoneNumber(KABC::PhoneNumber::Home).number(); number = addresseee.phoneNumber(KABC::PhoneNumber::Home).number();
if (!number.isEmpty()) if (!number.isEmpty())
properties=properties+i18n("Home phone: %1").arg(number)+"<br>"; properties=properties+i18n("Home phone: %1").tqarg(number)+"<br>";
if (!properties.isEmpty()) if (!properties.isEmpty())
item->setDescriptionText("<qt>"+properties+"</qt>"); item->setDescriptionText("<qt>"+properties+"</qt>");
@ -777,7 +777,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQDateTime received_datetime; TQDateTime received_datetime;
received_datetime = datetimeFromString(received); received_datetime = datetimeFromString(received);
if (!received.isEmpty()) if (!received.isEmpty())
item->setDescriptionText("<qt>"+i18n("Received: %1").arg(KGlobal::locale()->formatDateTime(received_datetime,false))+"</qt>"); item->setDescriptionText("<qt>"+i18n("Received: %1").tqarg(KGlobal::locale()->formatDateTime(received_datetime,false))+"</qt>");
TQString properties; TQString properties;
BeagleSearch::PropertyList::iterator it; BeagleSearch::PropertyList::iterator it;
@ -801,7 +801,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("From")); headerLabel->setText(i18n("From"));
headerLabel->setAlignment(headerLabel->alignment() | TQt::SingleLine); headerLabel->tqsetAlignment(headerLabel->tqalignment() | TQt::SingleLine);
item->insertHeaderWidget(1,headerLabel); item->insertHeaderWidget(1,headerLabel);
KerryLabel *headerFromLabel = new KerryLabel(item); KerryLabel *headerFromLabel = new KerryLabel(item);
@ -825,7 +825,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("Application:")); headerLabel->setText(i18n("Application:"));
headerLabel->setAlignment(headerLabel->alignment() | TQt::SingleLine); headerLabel->tqsetAlignment(headerLabel->tqalignment() | TQt::SingleLine);
item->insertHeaderWidget(0,headerLabel); item->insertHeaderWidget(0,headerLabel);
KerryLabel *headerFileLabel = new KerryLabel(item); KerryLabel *headerFileLabel = new KerryLabel(item);
@ -844,7 +844,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQDateTime datetime; TQDateTime datetime;
datetime.setTime_t(result->last_index_time); datetime.setTime_t(result->last_index_time);
item->setDescriptionText("<qt>"+i18n("Date: %1").arg(KGlobal::locale()->formatDateTime(datetime,false)+"</qt>")); item->setDescriptionText("<qt>"+i18n("Date: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false)+"</qt>"));
if (result->snippet) if (result->snippet)
item->setPropertiesText("<qt>"+*(result->snippet)+ "</qt>"); item->setPropertiesText("<qt>"+*(result->snippet)+ "</qt>");
@ -853,7 +853,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
headerFileLabel->setURL(*(result->uri)); headerFileLabel->setURL(*(result->uri));
TQStringList _properties(result->properties); TQStringList _properties(result->properties);
TQString person = takeProperty("fixme:speakingto",_properties); TQString person = takeProperty("fixme:speakingto",_properties);
headerFileLabel->setText(i18n("Conversation With %1").arg(person.isEmpty() ? i18n("Unknown Person") : person)); headerFileLabel->setText(i18n("Conversation With %1").tqarg(person.isEmpty() ? i18n("Unknown Person") : person));
item->insertHeaderWidget(0,headerFileLabel); item->insertHeaderWidget(0,headerFileLabel);
connect(headerFileLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen())); connect(headerFileLabel, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpen()));
} }
@ -881,12 +881,12 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
{ {
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("From")); headerLabel->setText(i18n("From"));
headerLabel->setAlignment(headerLabel->alignment() | TQt::SingleLine); headerLabel->tqsetAlignment(headerLabel->tqalignment() | TQt::SingleLine);
item->insertHeaderWidget(1,headerLabel); item->insertHeaderWidget(1,headerLabel);
KerryLabel *headerFileLabel = new KerryLabel(item); KerryLabel *headerFileLabel = new KerryLabel(item);
headerFileLabel->setText(homepage); headerFileLabel->setText(homepage);
headerFileLabel->setAlignment(headerFileLabel->alignment() | TQt::SingleLine); headerFileLabel->tqsetAlignment(headerFileLabel->tqalignment() | TQt::SingleLine);
headerFileLabel->setURL(homepage); headerFileLabel->setURL(homepage);
item->insertHeaderWidget(2,headerFileLabel); item->insertHeaderWidget(2,headerFileLabel);
connect(headerFileLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(slotOpenURL(const TQString&))); connect(headerFileLabel, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(slotOpenURL(const TQString&)));
@ -898,19 +898,19 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQString install_time_str = takeProperty("fixme:install_time", _properties); TQString install_time_str = takeProperty("fixme:install_time", _properties);
if (!install_time_str.isEmpty()) if (!install_time_str.isEmpty())
{ {
properties=properties+i18n("Installed on: %1").arg(KGlobal::locale()->formatDateTime(datetimeFromString(install_time_str),false))+"<br>"; properties=properties+i18n("Installed on: %1").tqarg(KGlobal::locale()->formatDateTime(datetimeFromString(install_time_str),false))+"<br>";
} }
TQString install_size_str = takeProperty("fixme:contents_byte_count", _properties); TQString install_size_str = takeProperty("fixme:contents_byte_count", _properties);
if (!install_size_str.isEmpty()) if (!install_size_str.isEmpty())
{ {
properties=properties+i18n("Installed size: %1").arg(formatBytes(install_size_str))+"<br>"; properties=properties+i18n("Installed size: %1").tqarg(formatBytes(install_size_str))+"<br>";
} }
TQString download_size_str = takeProperty("fixme:size", _properties); TQString download_size_str = takeProperty("fixme:size", _properties);
if (!download_size_str.isEmpty()) if (!download_size_str.isEmpty())
{ {
properties=properties+i18n("Download size: %1").arg(formatBytes(download_size_str))+"<br>"; properties=properties+i18n("Download size: %1").tqarg(formatBytes(download_size_str))+"<br>";
} }
BeagleSearch::PropertyList::iterator it; BeagleSearch::PropertyList::iterator it;
@ -965,7 +965,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("In Folder")); headerLabel->setText(i18n("In Folder"));
headerLabel->setAlignment(headerLabel->alignment() | TQt::SingleLine); headerLabel->tqsetAlignment(headerLabel->tqalignment() | TQt::SingleLine);
item->insertHeaderWidget(1,headerLabel); item->insertHeaderWidget(1,headerLabel);
KerryLabel *headerDirLabel = new KerryLabel(item); KerryLabel *headerDirLabel = new KerryLabel(item);
@ -982,7 +982,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQDateTime datetime; TQDateTime datetime;
datetime.setTime_t(result->last_index_time); datetime.setTime_t(result->last_index_time);
title = i18n("Last modified: %1").arg(KGlobal::locale()->formatDateTime(datetime,false)); title = i18n("Last modified: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false));
item->setDescriptionText("<qt>"+title+"</qt>"); item->setDescriptionText("<qt>"+title+"</qt>");
TQString properties; TQString properties;
@ -1028,7 +1028,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("In Folder")); headerLabel->setText(i18n("In Folder"));
headerLabel->setAlignment(headerLabel->alignment() | TQt::SingleLine); headerLabel->tqsetAlignment(headerLabel->tqalignment() | TQt::SingleLine);
item->insertHeaderWidget(1,headerLabel); item->insertHeaderWidget(1,headerLabel);
KerryLabel *headerDirLabel = new KerryLabel(item); KerryLabel *headerDirLabel = new KerryLabel(item);
@ -1055,7 +1055,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
else { else {
TQDateTime datetime; TQDateTime datetime;
datetime.setTime_t(result->last_index_time); datetime.setTime_t(result->last_index_time);
title = i18n("Last modified: %1").arg(KGlobal::locale()->formatDateTime(datetime,false)); title = i18n("Last modified: %1").tqarg(KGlobal::locale()->formatDateTime(datetime,false));
} }
item->setDescriptionText("<qt>"+title+"</qt>"); item->setDescriptionText("<qt>"+title+"</qt>");
@ -1086,7 +1086,7 @@ void SearchDlg::insertResult(BeagleSearch::beagle_result_struct *result,int inde
connect(buttonGo, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpenDir())); connect(buttonGo, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotOpenDir()));
} }
item->score->setText(i18n("<p align=\"center\">Score: %1</p>").arg(result->score,0,'f',1)); item->score->setText(i18n("<p align=\"center\">Score: %1</p>").tqarg(result->score,0,'f',1));
tableHits->insertItem(item,index); tableHits->insertItem(item,index);
} }
@ -1173,21 +1173,21 @@ void SearchDlg::displayResults(BeagleSearch::BeagleResultList &items)
show = true; show = true;
break; break;
case Today: case Today:
show = ( datetime.date()==TQDate::currentDate() ); show = ( datetime.date()==TQDate::tqcurrentDate() );
break; break;
case SinceYesterday: case SinceYesterday:
show = ( datetime.date()>TQDate::currentDate().addDays(-1) ); show = ( datetime.date()>TQDate::tqcurrentDate().addDays(-1) );
break; break;
case ThisWeek: case ThisWeek:
show = ( datetime.date().year()==TQDate::currentDate().year() && show = ( datetime.date().year()==TQDate::tqcurrentDate().year() &&
datetime.date().weekNumber()==TQDate::currentDate().weekNumber() ); datetime.date().weekNumber()==TQDate::tqcurrentDate().weekNumber() );
break; break;
case ThisMonth: case ThisMonth:
show = ( datetime.date().year()==TQDate::currentDate().year() && show = ( datetime.date().year()==TQDate::tqcurrentDate().year() &&
datetime.date().month()==TQDate::currentDate().month() ); datetime.date().month()==TQDate::tqcurrentDate().month() );
break; break;
case ThisYear: case ThisYear:
show = ( datetime.date().year()==TQDate::currentDate().year() ); show = ( datetime.date().year()==TQDate::tqcurrentDate().year() );
break; break;
default: default:
break; break;
@ -1238,7 +1238,7 @@ void SearchDlg::displayResults(BeagleSearch::BeagleResultList &items)
fillTableHits(); fillTableHits();
tableHits->setUpdatesEnabled(true); tableHits->setUpdatesEnabled(true);
} }
updateStatus(); updatetqStatus();
} }
void SearchDlg::slotOpen() void SearchDlg::slotOpen()
@ -1428,7 +1428,7 @@ void SearchDlg::searchLostOutput(BeagleSearch::VanishedURIList &items)
tableHits->setUpdatesEnabled(true); tableHits->setUpdatesEnabled(true);
} }
updateStatus(); updatetqStatus();
} }
void SearchDlg::searchFinished() void SearchDlg::searchFinished()
@ -1438,7 +1438,7 @@ void SearchDlg::searchFinished()
still_searching = false; still_searching = false;
if (displayed_results.count()) { if (displayed_results.count()) {
updateStatus(); updatetqStatus();
return; return;
} }
@ -1450,7 +1450,7 @@ void SearchDlg::searchFinished()
tableHits->clear(); tableHits->clear();
HitWidget* item = new HitWidget(TQString(), TQString()); HitWidget* item = new HitWidget(TQString(), TQString());
TQLabel *headerLabel = new TQLabel(item); TQLabel *headerLabel = new TQLabel(item);
headerLabel->setText(i18n("No results for \"%1\" were found.").arg(current_query.get())); headerLabel->setText(i18n("No results for \"%1\" were found.").tqarg(current_query.get()));
item->insertHeaderWidget(0,headerLabel); item->insertHeaderWidget(0,headerLabel);
item->setIcon("messagebox_warning"); item->setIcon("messagebox_warning");
@ -1464,7 +1464,7 @@ void SearchDlg::searchFinished()
beagleJustStarted = false; beagleJustStarted = false;
} }
item->setDescriptionText(text+"</qt>"); item->setDescriptionText(text+"</qt>");
labelStatus->setText(""); labeltqStatus->setText("");
tableHits->insertItem(item); tableHits->insertItem(item);
} }
@ -1570,7 +1570,7 @@ void SearchDlg::keyPressEvent(TQKeyEvent *e)
tableHits->setUpdatesEnabled(false); tableHits->setUpdatesEnabled(false);
fillTableHits(); fillTableHits();
tableHits->setUpdatesEnabled(true); tableHits->setUpdatesEnabled(true);
updateStatus(); updatetqStatus();
} }
else else
slotNext(); slotNext();
@ -1584,7 +1584,7 @@ void SearchDlg::keyPressEvent(TQKeyEvent *e)
tableHits->setUpdatesEnabled(false); tableHits->setUpdatesEnabled(false);
fillTableHits(); fillTableHits();
tableHits->setUpdatesEnabled(true); tableHits->setUpdatesEnabled(true);
updateStatus(); updatetqStatus();
} }
else else
slotPrevious(); slotPrevious();

@ -132,7 +132,7 @@ class SearchDlg : public HitsLayout, virtual public dcopIface
int defaultSortOrder,currentSortOrder; int defaultSortOrder,currentSortOrder;
void insertResult(BeagleSearch::beagle_result_struct *result,int index); void insertResult(BeagleSearch::beagle_result_struct *result,int index);
void fillTableHits(); void fillTableHits();
void updateStatus(); void updatetqStatus();
void showQuickTips(); void showQuickTips();
TQString formatBytes(TQString& bytesStr) const; TQString formatBytes(TQString& bytesStr) const;
TQCheckBox* cb_beagleStart; TQCheckBox* cb_beagleStart;

@ -12,7 +12,7 @@
<height>898</height> <height>898</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
@ -37,7 +37,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>480</width> <width>480</width>
<height>440</height> <height>440</height>
@ -49,7 +49,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>layout8</cstring> <cstring>tqlayout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -67,7 +67,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
@ -114,7 +114,7 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
@ -142,13 +142,13 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>32</width> <width>32</width>
<height>32</height> <height>32</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="tqmaximumSize">
<size> <size>
<width>32</width> <width>32</width>
<height>32</height> <height>32</height>
@ -168,7 +168,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>layout5</cstring> <cstring>tqlayout5</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -176,7 +176,7 @@
</property> </property>
<widget class="TQLabel"> <widget class="TQLabel">
<property name="name"> <property name="name">
<cstring>labelStatus</cstring> <cstring>labeltqStatus</cstring>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy> <sizepolicy>
@ -189,7 +189,7 @@
<property name="text"> <property name="text">
<string>Results &lt;b&gt;%1 through %2 of %3&lt;/b&gt; are shown.</string> <string>Results &lt;b&gt;%1 through %2 of %3&lt;/b&gt; are shown.</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -203,7 +203,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Fixed</enum> <enum>Fixed</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>16</width> <width>16</width>
<height>20</height> <height>20</height>
@ -225,7 +225,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
@ -256,7 +256,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
@ -276,7 +276,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="1" rowspan="2" colspan="1"> <widget class="TQLayoutWidget" row="1" column="1" rowspan="2" colspan="1">
<property name="name"> <property name="name">
<cstring>layout4</cstring> <cstring>tqlayout4</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -329,7 +329,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>40</width> <width>40</width>
<height>0</height> <height>0</height>
@ -357,7 +357,7 @@
<property name="text"> <property name="text">
<string>Everything</string> <string>Everything</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -368,7 +368,7 @@
<property name="text"> <property name="text">
<string>Applications</string> <string>Applications</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -379,7 +379,7 @@
<property name="text"> <property name="text">
<string>Contacts</string> <string>Contacts</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -390,7 +390,7 @@
<property name="text"> <property name="text">
<string>Office Documents</string> <string>Office Documents</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -401,7 +401,7 @@
<property name="text"> <property name="text">
<string>Conversations</string> <string>Conversations</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -412,7 +412,7 @@
<property name="text"> <property name="text">
<string>Images</string> <string>Images</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -423,7 +423,7 @@
<property name="text"> <property name="text">
<string>Media</string> <string>Media</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -434,7 +434,7 @@
<property name="text"> <property name="text">
<string>Web Pages</string> <string>Web Pages</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -445,7 +445,7 @@
<property name="text"> <property name="text">
<string>File/Path Name</string> <string>File/Path Name</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -459,7 +459,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Fixed</enum> <enum>Fixed</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>16</height> <height>16</height>
@ -491,7 +491,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>40</width> <width>40</width>
<height>0</height> <height>0</height>
@ -519,7 +519,7 @@
<property name="text"> <property name="text">
<string>Type</string> <string>Type</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -530,7 +530,7 @@
<property name="text"> <property name="text">
<string>Date</string> <string>Date</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -541,7 +541,7 @@
<property name="text"> <property name="text">
<string>Name</string> <string>Name</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>WordBreak|AlignVCenter</set> <set>WordBreak|AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -552,7 +552,7 @@
<property name="text"> <property name="text">
<string>Relevance</string> <string>Relevance</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -566,7 +566,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Fixed</enum> <enum>Fixed</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>16</height> <height>16</height>
@ -598,7 +598,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>40</width> <width>40</width>
<height>0</height> <height>0</height>
@ -626,7 +626,7 @@
<property name="text"> <property name="text">
<string>Any Date</string> <string>Any Date</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -637,7 +637,7 @@
<property name="text"> <property name="text">
<string>Today</string> <string>Today</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -648,7 +648,7 @@
<property name="text"> <property name="text">
<string>Since Yesterday</string> <string>Since Yesterday</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -659,7 +659,7 @@
<property name="text"> <property name="text">
<string>This Week</string> <string>This Week</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -670,7 +670,7 @@
<property name="text"> <property name="text">
<string>This Month</string> <string>This Month</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -681,7 +681,7 @@
<property name="text"> <property name="text">
<string>This Year</string> <string>This Year</string>
</property> </property>
<property name="alignment"> <property name="tqalignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>
@ -695,7 +695,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>1</height> <height>1</height>
@ -706,7 +706,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>layout3</cstring> <cstring>tqlayout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -722,7 +722,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Preferred</enum> <enum>Preferred</enum>
</property> </property>
<property name="sizeHint"> <property name="tqsizeHint">
<size> <size>
<width>0</width> <width>0</width>
<height>20</height> <height>20</height>
@ -741,7 +741,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
@ -766,7 +766,7 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="tqminimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
@ -849,14 +849,14 @@
<slot access="public" specifier="">update()</slot> <slot access="public" specifier="">update()</slot>
<slot access="public" specifier="">update(int,int,int,int)</slot> <slot access="public" specifier="">update(int,int,int,int)</slot>
<slot access="public" specifier="">update(const QRect&amp;)</slot> <slot access="public" specifier="">update(const QRect&amp;)</slot>
<slot access="public" specifier="">repaint()</slot> <slot access="public" specifier="">tqrepaint()</slot>
<slot access="public" specifier="">repaint(bool)</slot> <slot access="public" specifier="">tqrepaint(bool)</slot>
<slot access="public" specifier="">repaint(int,int,int,int)</slot> <slot access="public" specifier="">tqrepaint(int,int,int,int)</slot>
<slot access="public" specifier="">repaint(int,int,int,int,bool)</slot> <slot access="public" specifier="">tqrepaint(int,int,int,int,bool)</slot>
<slot access="public" specifier="">repaint(const QRect&amp;)</slot> <slot access="public" specifier="">tqrepaint(const QRect&amp;)</slot>
<slot access="public" specifier="">repaint(const QRect&amp;,bool)</slot> <slot access="public" specifier="">tqrepaint(const QRect&amp;,bool)</slot>
<slot access="public" specifier="">repaint(const QRegion&amp;)</slot> <slot access="public" specifier="">tqrepaint(const QRegion&amp;)</slot>
<slot access="public" specifier="">repaint(const QRegion&amp;,bool)</slot> <slot access="public" specifier="">tqrepaint(const QRegion&amp;,bool)</slot>
<slot access="public" specifier="">show()</slot> <slot access="public" specifier="">show()</slot>
<slot access="public" specifier="">hide()</slot> <slot access="public" specifier="">hide()</slot>
<slot access="public" specifier="">setShown(bool)</slot> <slot access="public" specifier="">setShown(bool)</slot>
@ -897,7 +897,7 @@
<slot access="public" specifier="">setPalette(const QPalette&amp;)</slot> <slot access="public" specifier="">setPalette(const QPalette&amp;)</slot>
<slot access="public" specifier="">setSelection(int,int)</slot> <slot access="public" specifier="">setSelection(int,int)</slot>
<slot access="public" specifier="">setCursorPosition(int)</slot> <slot access="public" specifier="">setCursorPosition(int)</slot>
<slot access="public" specifier="">setAlignment(int)</slot> <slot access="public" specifier="">tqsetAlignment(int)</slot>
<slot access="public" specifier="">cut()</slot> <slot access="public" specifier="">cut()</slot>
<slot access="public" specifier="">copy()</slot> <slot access="public" specifier="">copy()</slot>
<slot access="public" specifier="">paste()</slot> <slot access="public" specifier="">paste()</slot>
@ -921,10 +921,10 @@
<slot access="private" specifier="">setTextWorkaround(const QString&amp;)</slot> <slot access="private" specifier="">setTextWorkaround(const QString&amp;)</slot>
<property type="CString">name</property> <property type="CString">name</property>
<property type="Bool">enabled</property> <property type="Bool">enabled</property>
<property type="Rect">geometry</property> <property type="Rect">tqgeometry</property>
<property type="SizePolicy">sizePolicy</property> <property type="SizePolicy">sizePolicy</property>
<property type="Size">minimumSize</property> <property type="Size">tqminimumSize</property>
<property type="Size">maximumSize</property> <property type="Size">tqmaximumSize</property>
<property type="Size">sizeIncrement</property> <property type="Size">sizeIncrement</property>
<property type="Size">baseSize</property> <property type="Size">baseSize</property>
<property type="Color">paletteForegroundColor</property> <property type="Color">paletteForegroundColor</property>
@ -950,7 +950,7 @@
<property type="Bool">frame</property> <property type="Bool">frame</property>
<property type="EchoMode">echoMode</property> <property type="EchoMode">echoMode</property>
<property type="Int">cursorPosition</property> <property type="Int">cursorPosition</property>
<property type="Alignment">alignment</property> <property type="Alignment">tqalignment</property>
<property type="Bool">dragEnabled</property> <property type="Bool">dragEnabled</property>
<property type="Bool">readOnly</property> <property type="Bool">readOnly</property>
<property type="String">inputMask</property> <property type="String">inputMask</property>
@ -995,14 +995,14 @@
<slot access="public" specifier="">update()</slot> <slot access="public" specifier="">update()</slot>
<slot access="public" specifier="">update(int,int,int,int)</slot> <slot access="public" specifier="">update(int,int,int,int)</slot>
<slot access="public" specifier="">update(const QRect&amp;)</slot> <slot access="public" specifier="">update(const QRect&amp;)</slot>
<slot access="public" specifier="">repaint()</slot> <slot access="public" specifier="">tqrepaint()</slot>
<slot access="public" specifier="">repaint(bool)</slot> <slot access="public" specifier="">tqrepaint(bool)</slot>
<slot access="public" specifier="">repaint(int,int,int,int)</slot> <slot access="public" specifier="">tqrepaint(int,int,int,int)</slot>
<slot access="public" specifier="">repaint(int,int,int,int,bool)</slot> <slot access="public" specifier="">tqrepaint(int,int,int,int,bool)</slot>
<slot access="public" specifier="">repaint(const QRect&amp;)</slot> <slot access="public" specifier="">tqrepaint(const QRect&amp;)</slot>
<slot access="public" specifier="">repaint(const QRect&amp;,bool)</slot> <slot access="public" specifier="">tqrepaint(const QRect&amp;,bool)</slot>
<slot access="public" specifier="">repaint(const QRegion&amp;)</slot> <slot access="public" specifier="">tqrepaint(const QRegion&amp;)</slot>
<slot access="public" specifier="">repaint(const QRegion&amp;,bool)</slot> <slot access="public" specifier="">tqrepaint(const QRegion&amp;,bool)</slot>
<slot access="public" specifier="">show()</slot> <slot access="public" specifier="">show()</slot>
<slot access="public" specifier="">hide()</slot> <slot access="public" specifier="">hide()</slot>
<slot access="public" specifier="">setShown(bool)</slot> <slot access="public" specifier="">setShown(bool)</slot>
@ -1036,10 +1036,10 @@
<slot access="private" specifier="">slotSettingsChanged(int)</slot> <slot access="private" specifier="">slotSettingsChanged(int)</slot>
<property type="CString">name</property> <property type="CString">name</property>
<property type="Bool">enabled</property> <property type="Bool">enabled</property>
<property type="Rect">geometry</property> <property type="Rect">tqgeometry</property>
<property type="SizePolicy">sizePolicy</property> <property type="SizePolicy">sizePolicy</property>
<property type="Size">minimumSize</property> <property type="Size">tqminimumSize</property>
<property type="Size">maximumSize</property> <property type="Size">tqmaximumSize</property>
<property type="Size">sizeIncrement</property> <property type="Size">sizeIncrement</property>
<property type="Size">baseSize</property> <property type="Size">baseSize</property>
<property type="Color">paletteForegroundColor</property> <property type="Color">paletteForegroundColor</property>

Loading…
Cancel
Save