diff options
Diffstat (limited to 'configdialog')
23 files changed, 861 insertions, 860 deletions
diff --git a/configdialog/kbfxconfigapp.cpp b/configdialog/kbfxconfigapp.cpp index ac17881..127a7f2 100644 --- a/configdialog/kbfxconfigapp.cpp +++ b/configdialog/kbfxconfigapp.cpp @@ -21,8 +21,8 @@ #include "kbfxconfigapp.h" -KbfxConfigApp::KbfxConfigApp ( QWidget* parent, const char* name, WFlags fl ) - : KbfxConfigDlgMain ( parent,name,fl ) +KbfxConfigApp::KbfxConfigApp ( TQWidget* tqparent, const char* name, WFlags fl ) + : KbfxConfigDlgMain ( tqparent,name,fl ) { // m_KbfxVersion = tr2i18n("<p align='center'>Running KBFX version: " APPLICATION_VERSION "</p>"); m_KbfxVersion = tr2i18n ( "<p align='center'>%1</p>" ); @@ -79,62 +79,62 @@ void KbfxConfigApp::InitForm() lb_Main->insertItem ( img_themes, tr2i18n ( "Themes" ), THEMES ); KbfxConfigDlgThemes *pageThemes = new KbfxConfigDlgThemes(); ws_Main->addWidget ( pageThemes, THEMES ); - connect ( this, SIGNAL ( KbfxConfigDlgThemesChanged() ), - pageThemes, SLOT ( ChangeForm() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgThemesChanged() ), + pageThemes, TQT_SLOT ( ChangeForm() ) ); emit KbfxConfigDlgThemesChanged(); - connect ( pageThemes->KbfxGetMoreThemes, SIGNAL ( clicked() ), - this, SLOT ( KbfxGetMoreThemesClicked() ) ); - connect ( this, SIGNAL ( KbfxThemeDoInstall ( QString & ) ), - pageThemes, SLOT ( KbfxThemeInstall ( QString & ) ) ); + connect ( pageThemes->KbfxGetMoreThemes, TQT_SIGNAL ( clicked() ), + this, TQT_SLOT ( KbfxGetMoreThemesClicked() ) ); + connect ( this, TQT_SIGNAL ( KbfxThemeDoInstall ( TQString & ) ), + pageThemes, TQT_SLOT ( KbfxThemeInstall ( TQString & ) ) ); /* initialize Button page */ lb_Main->insertItem ( img_button, tr2i18n ( "Start Button" ), BUTTON ); KbfxConfigDlgButton *pageButton = new KbfxConfigDlgButton(); ws_Main->addWidget ( pageButton, BUTTON ); - connect ( this, SIGNAL ( KbfxConfigDlgButtonChanged() ), - pageButton, SLOT ( ChangeForm() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgButtonChanged() ), + pageButton, TQT_SLOT ( ChangeForm() ) ); emit KbfxConfigDlgButtonChanged(); /* initialize Fonts page */ lb_Main->insertItem ( img_fonts, tr2i18n ( "Fonts" ), FONTS ); KbfxConfigDlgFonts *pageFonts = new KbfxConfigDlgFonts(); ws_Main->addWidget ( pageFonts, FONTS ); - connect ( this, SIGNAL ( KbfxConfigDlgFontsChanged() ), - pageFonts, SLOT ( ChangeForm() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgFontsChanged() ), + pageFonts, TQT_SLOT ( ChangeForm() ) ); emit KbfxConfigDlgFontsChanged(); /* initialize Layout Page */ lb_Main->insertItem ( img_search, tr2i18n ( "Layout" ), LAYOUT ); KbfxConfigDlgLayout *pageLayout = new KbfxConfigDlgLayout(); ws_Main->addWidget ( pageLayout, LAYOUT ); - connect ( this, SIGNAL ( KbfxConfigDlgLayoutChanged() ), - pageLayout, SLOT ( ChangeForm() ) ); - connect ( this, SIGNAL ( KbfxConfigDlgLayoutLeft() ), - pageLayout, SLOT ( LayoutFormLeft() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgLayoutChanged() ), + pageLayout, TQT_SLOT ( ChangeForm() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgLayoutLeft() ), + pageLayout, TQT_SLOT ( LayoutFormLeft() ) ); emit KbfxConfigDlgLayoutChanged(); /* initialize Plugins Page */ lb_Main->insertItem ( img_plugins, tr2i18n ( "Plugins" ), PLUGINS ); KbfxConfigDlgPlugins *pagePlugins = new KbfxConfigDlgPlugins(); ws_Main->addWidget ( pagePlugins, PLUGINS ); - connect ( this, SIGNAL ( KbfxConfigDlgPluginsChanged() ), - pagePlugins, SLOT ( ChangeForm() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgPluginsChanged() ), + pagePlugins, TQT_SLOT ( ChangeForm() ) ); emit KbfxConfigDlgPluginsChanged(); /* initialize Tooltip page */ lb_Main->insertItem ( img_tooltip, tr2i18n ( "Tooltip" ), TOOLTIP ); KbfxConfigDlgTooltip *pageTooltip = new KbfxConfigDlgTooltip(); ws_Main->addWidget ( pageTooltip, TOOLTIP ); - connect ( this, SIGNAL ( KbfxConfigDlgTooltipChanged() ), - pageTooltip, SLOT ( ChangeForm() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgTooltipChanged() ), + pageTooltip, TQT_SLOT ( ChangeForm() ) ); emit KbfxConfigDlgTooltipChanged(); /* initialize Menu Style page */ lb_Main->insertItem ( img_style, tr2i18n ( "Menu Style" ), STYLE ); KbfxConfigDlgStyle *pageStyle = new KbfxConfigDlgStyle(); ws_Main->addWidget ( pageStyle, STYLE ); - connect ( this, SIGNAL ( KbfxConfigDlgStyleChanged() ), - pageStyle, SLOT ( ChangeForm() ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgStyleChanged() ), + pageStyle, TQT_SLOT ( ChangeForm() ) ); emit KbfxConfigDlgStyleChanged(); /* initialize About page */ @@ -143,14 +143,14 @@ void KbfxConfigApp::InitForm() ws_Main->addWidget ( pageAbout,ABOUT ); pageAbout->KbfxLabelVersion->setText ( m_KbfxVersion2 ); - connect ( btn_Default, SIGNAL ( clicked() ), - this, SLOT ( btn_DefaultClicked() ) ); - connect ( btn_Help, SIGNAL ( clicked() ), - this, SLOT ( btn_HelpClicked() ) ); - connect ( lb_Main, SIGNAL ( highlighted ( int ) ), - this, SLOT ( KbfxMenuItemChanged ( int ) ) ); - connect ( btn_SaveApply, SIGNAL ( clicked() ), - this, SLOT ( btn_SaveApplyClicked() ) ); + connect ( btn_Default, TQT_SIGNAL ( clicked() ), + this, TQT_SLOT ( btn_DefaultClicked() ) ); + connect ( btn_Help, TQT_SIGNAL ( clicked() ), + this, TQT_SLOT ( btn_HelpClicked() ) ); + connect ( lb_Main, TQT_SIGNAL ( highlighted ( int ) ), + this, TQT_SLOT ( KbfxMenuItemChanged ( int ) ) ); + connect ( btn_SaveApply, TQT_SIGNAL ( clicked() ), + this, TQT_SLOT ( btn_SaveApplyClicked() ) ); m_KbfxPage = THEMES; lb_Main->setCurrentItem ( THEMES ); @@ -350,8 +350,8 @@ void KbfxConfigApp::browserInit() { /* initialize NewsBrowser widget */ kio = new KbfxKioDownload(); - connect ( kio, SIGNAL ( KbfxKioDownloadReady() ), - this, SLOT ( KbfxNewsBrowserLoad() ) ); + connect ( kio, TQT_SIGNAL ( KbfxKioDownloadReady() ), + this, TQT_SLOT ( KbfxNewsBrowserLoad() ) ); kio->KbfxKioDownloadStart ( m_KbfxNewsBrowserAddress ); } @@ -363,17 +363,17 @@ void KbfxConfigApp::KbfxNewsBrowserLoad() browser = new KHTMLPart ( KBFXNewsBrowser ); browser->openURL ( kio->KbfxBrowserTmpFile() ); browser->view()->resize ( KBFXNewsBrowser->width(), KBFXNewsBrowser->height() ); - browser->view()->setVScrollBarMode ( QScrollView::AlwaysOff ); - browser->view()->setHScrollBarMode ( QScrollView::AlwaysOff ); - browser->view()->setFocusPolicy ( QWidget::NoFocus ); + browser->view()->setVScrollBarMode ( TQScrollView::AlwaysOff ); + browser->view()->setHScrollBarMode ( TQScrollView::AlwaysOff ); + browser->view()->setFocusPolicy ( TQ_NoFocus ); browser->view()->show(); connect ( browser->browserExtension(), - SIGNAL ( openURLRequest ( const KURL &, const KParts::URLArgs & ) ), + TQT_SIGNAL ( openURLRequest ( const KURL &, const KParts::URLArgs & ) ), this, - SLOT ( KbfxNewsBrowserOpenURLRequest ( const KURL &, const KParts::URLArgs & ) ) ); - connect ( browser, SIGNAL ( completed() ), - this, SLOT ( KbfxNewsBrowserCompleted() ) ); + TQT_SLOT ( KbfxNewsBrowserOpenURLRequest ( const KURL &, const KParts::URLArgs & ) ) ); + connect ( browser, TQT_SIGNAL ( completed() ), + this, TQT_SLOT ( KbfxNewsBrowserCompleted() ) ); } } @@ -384,7 +384,7 @@ void KbfxConfigApp::KbfxGetMoreThemesClicked() return ; } -void KbfxConfigApp::KbfxThemeInstall ( QString & themeURL ) +void KbfxConfigApp::KbfxThemeInstall ( TQString & themeURL ) { emit KbfxThemeDoInstall ( themeURL ); } diff --git a/configdialog/kbfxconfigapp.h b/configdialog/kbfxconfigapp.h index 80f22ca..aa22861 100644 --- a/configdialog/kbfxconfigapp.h +++ b/configdialog/kbfxconfigapp.h @@ -25,20 +25,20 @@ #include <config.h> -#include <qbuttongroup.h> -#include <qgroupbox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qmap.h> -#include <qpushbutton.h> -#include <qtabwidget.h> -#include <qtextbrowser.h> -#include <qtimer.h> -#include <qtoolbox.h> -#include <qtooltip.h> -#include <qvariant.h> -#include <qwhatsthis.h> -#include <qwidgetstack.h> +#include <tqbuttongroup.h> +#include <tqgroupbox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqmap.h> +#include <tqpushbutton.h> +#include <tqtabwidget.h> +#include <tqtextbrowser.h> +#include <tqtimer.h> +#include <tqtoolbox.h> +#include <tqtooltip.h> +#include <tqvariant.h> +#include <tqwhatsthis.h> +#include <tqwidgetstack.h> #include <dcopref.h> #include <kactivelabel.h> @@ -89,11 +89,12 @@ enum {THEMES=0, BUTTON, FONTS, LAYOUT, PLUGINS, TOOLTIP, STYLE, ABOUT}; class KbfxConfigApp : public KbfxConfigDlgMain { Q_OBJECT + TQ_OBJECT public: /** * Default Constructor */ - KbfxConfigApp ( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + KbfxConfigApp ( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); /** * Default Destructor @@ -101,23 +102,23 @@ class KbfxConfigApp : public KbfxConfigDlgMain virtual ~KbfxConfigApp(); void InitForm(); - QString m_KbfxVersion; - QString m_KbfxVersion2; - QString m_KbfxNewsBrowserError; - QString m_KbfxNewsBrowserAddress; + TQString m_KbfxVersion; + TQString m_KbfxVersion2; + TQString m_KbfxNewsBrowserError; + TQString m_KbfxNewsBrowserAddress; void browserInit(); private: - QString m_KbfxLogoButton; - QString m_KbfxLogoThemes; - QString m_KbfxLogoAbout; - QString m_KbfxLogoLayout; - QString m_KbfxLogoTooltip; - QString m_KbfxLogoFonts; - QString m_KbfxLogoStyle; - QString m_KbfxLogoPlugins; + TQString m_KbfxLogoButton; + TQString m_KbfxLogoThemes; + TQString m_KbfxLogoAbout; + TQString m_KbfxLogoLayout; + TQString m_KbfxLogoTooltip; + TQString m_KbfxLogoFonts; + TQString m_KbfxLogoStyle; + TQString m_KbfxLogoPlugins; KbfxConfigDlgButton *pageButton; KbfxConfigDlgThemes *pageThemes; KbfxConfigDlgFonts *pageFonts; @@ -128,8 +129,8 @@ class KbfxConfigApp : public KbfxConfigDlgMain KbfxConfigDlgAbout *pageAbout; KHTMLPart * browser; KbfxKioDownload * kio; - QString m_KbfxThemeUrl; - QString m_KbfxThemeFolderUrl; + TQString m_KbfxThemeUrl; + TQString m_KbfxThemeFolderUrl; int m_KbfxPage; public slots: @@ -141,7 +142,7 @@ class KbfxConfigApp : public KbfxConfigDlgMain virtual void KbfxNewsBrowserCompleted(); virtual void KbfxNewsBrowserLoad(); virtual void KbfxGetMoreThemesClicked(); - virtual void KbfxThemeInstall ( QString & ); + virtual void KbfxThemeInstall ( TQString & ); signals: void KbfxConfigDlgButtonChanged(); @@ -152,7 +153,7 @@ class KbfxConfigApp : public KbfxConfigDlgMain void KbfxConfigDlgLayoutLeft(); void KbfxConfigDlgPluginsChanged(); void KbfxConfigDlgFontsChanged(); - void KbfxThemeDoInstall( QString & ); + void KbfxThemeDoInstall( TQString & ); }; diff --git a/configdialog/kbfxconfigdlgabout.ui b/configdialog/kbfxconfigdlgabout.ui index 034575f..5ac9dd1 100644 --- a/configdialog/kbfxconfigdlgabout.ui +++ b/configdialog/kbfxconfigdlgabout.ui @@ -1,10 +1,10 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgAbout</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgAbout</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -45,13 +45,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -80,17 +80,17 @@ <string><b><h3><p align="center">People behind KBFX</p></h3></b></string> </property> </widget> - <widget class="QLayoutWidget" row="1" column="0"> + <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout4</cstring> + <cstring>tqlayout4</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout5</cstring> + <cstring>tqlayout5</cstring> </property> <hbox> <property name="name"> @@ -114,13 +114,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>629</width> <height>20</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>629</width> <height>20</height> @@ -160,13 +160,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>20</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>20</height> @@ -181,7 +181,7 @@ </widget> </hbox> </widget> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel1</cstring> </property> @@ -198,7 +198,7 @@ We would like to thank all people who have helped with KBFX or have donated money to our project! THANKS A LOT ALL OF YOU OUT THERE!!!</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> @@ -218,15 +218,15 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> </widget> </vbox> </widget> - <widget class="QLayoutWidget" row="2" column="0"> + <widget class="TQLayoutWidget" row="2" column="0"> <property name="name"> - <cstring>layout6</cstring> + <cstring>tqlayout6</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QTextEdit"> + <widget class="TQTextEdit"> <property name="name"> <cstring>KbfxTeamInfo</cstring> </property> @@ -254,17 +254,17 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <bool>true</bool> </property> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout5</cstring> + <cstring>tqlayout5</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout8</cstring> + <cstring>tqlayout8</cstring> </property> <grid> <property name="name"> @@ -273,7 +273,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <property name="spacing"> <number>20</number> </property> - <widget class="QLabel" row="1" column="2"> + <widget class="TQLabel" row="1" column="2"> <property name="name"> <cstring>KbfxPixmapLabelEphracis</cstring> </property> @@ -285,13 +285,13 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>90</width> <height>90</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>90</width> <height>90</height> @@ -316,7 +316,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <bool>true</bool> </property> </widget> - <widget class="QLabel" row="1" column="1"> + <widget class="TQLabel" row="1" column="1"> <property name="name"> <cstring>KbfxPixmapLabelJohnny</cstring> </property> @@ -328,13 +328,13 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>90</width> <height>90</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>90</width> <height>90</height> @@ -359,7 +359,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <bool>true</bool> </property> </widget> - <widget class="QLabel" row="0" column="1"> + <widget class="TQLabel" row="0" column="1"> <property name="name"> <cstring>KbfxPixmapLabelPhobosK</cstring> </property> @@ -371,13 +371,13 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>90</width> <height>90</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>90</width> <height>90</height> @@ -402,7 +402,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <bool>true</bool> </property> </widget> - <widget class="QLabel" row="0" column="2"> + <widget class="TQLabel" row="0" column="2"> <property name="name"> <cstring>KbfxPixmapLabelNookie</cstring> </property> @@ -414,13 +414,13 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>90</width> <height>90</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>90</width> <height>90</height> @@ -445,7 +445,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <bool>true</bool> </property> </widget> - <widget class="QLabel" row="1" column="0"> + <widget class="TQLabel" row="1" column="0"> <property name="name"> <cstring>KbfxPixmapLabelNathanael</cstring> </property> @@ -457,13 +457,13 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>90</width> <height>90</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>90</width> <height>90</height> @@ -488,7 +488,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <bool>true</bool> </property> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>KbfxPixmapLabelSiraj</cstring> </property> @@ -500,13 +500,13 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>90</width> <height>90</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>90</width> <height>90</height> @@ -536,7 +536,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> </widget> </grid> </widget> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel3</cstring> </property> @@ -557,7 +557,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <property name="text"> <string><b>Tip!</b> Hover over the contact images to see each personal contact information.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -571,14 +571,14 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>24</width> <height>1</height> </size> </property> </spacer> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBox1</cstring> </property> @@ -601,7 +601,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <property name="title"> <string>SPONSORS!</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -611,7 +611,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <property name="margin"> <number>4</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel5</cstring> </property> @@ -626,7 +626,7 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> <property name="text"> <string>We would like to thank swedish computer company <b>PC Agenten</b> for sponsoring us with a server and bandwidth.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -699,25 +699,25 @@ THANKS A LOT ALL OF YOU OUT THERE!!!</string> </tabstops> <includes> <include location="global" impldecl="in declaration">kdebug.h</include> - <include location="global" impldecl="in declaration">qevent.h</include> + <include location="global" impldecl="in declaration">tqevent.h</include> <include location="local" impldecl="in implementation">kbfxconfigdlgabout.ui.h</include> </includes> <variables> - <variable>QString KbfxMemberTextJohnny;</variable> - <variable>QString KbfxMemberTextEphracis;</variable> - <variable>QString KbfxMemberTextNathanael;</variable> - <variable>QString KbfxMemberTextSiraj;</variable> - <variable>QString KbfxMemberTextNookie;</variable> - <variable>QString KbfxMemberTextPhobosK;</variable> + <variable>TQString KbfxMemberTextJohnny;</variable> + <variable>TQString KbfxMemberTextEphracis;</variable> + <variable>TQString KbfxMemberTextNathanael;</variable> + <variable>TQString KbfxMemberTextSiraj;</variable> + <variable>TQString KbfxMemberTextNookie;</variable> + <variable>TQString KbfxMemberTextPhobosK;</variable> </variables> -<slots> +<Q_SLOTS> <slot>KbfxUnmarkAllPixmaps()</slot> -</slots> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> - <function specifier="non virtual" returnType="bool">eventFilter( QObject * obj, QEvent * ev )</function> + <function specifier="non virtual" returnType="bool">eventFilter( TQObject * obj, TQEvent * ev )</function> </functions> -<layoutdefaults spacing="6" margin="0"/> +<tqlayoutdefaults spacing="6" margin="0"/> <includehints> <includehint>kactivelabel.h</includehint> <includehint>kactivelabel.h</includehint> diff --git a/configdialog/kbfxconfigdlgabout.ui.h b/configdialog/kbfxconfigdlgabout.ui.h index 7f4b739..fa31f83 100644 --- a/configdialog/kbfxconfigdlgabout.ui.h +++ b/configdialog/kbfxconfigdlgabout.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -51,7 +51,7 @@ void KbfxConfigDlgAbout::init() "<br><br>" "<strong>Country:</strong> Bulgaria" "<br><br>" - "<strong>KBFX:</strong> package & release manager, Q/A, bug hunter, mandriva packages, project administrator, developer Qt/C++" + "<strong>KBFX:</strong> package & release manager, Q/A, bug hunter, mandriva packages, project administrator, developer TQt/C++" "<br><br>" "<strong>Email:</strong> [email protected]" ); @@ -60,7 +60,7 @@ void KbfxConfigDlgAbout::init() "<br><br>" "<strong>Country:</strong> Peru" "<br><br>" - "<strong>KBFX:</strong> developer Qt4/C++" + "<strong>KBFX:</strong> developer TQt4/C++" "<br><br>" "<strong>Email:</strong> [email protected]" ); @@ -74,60 +74,60 @@ void KbfxConfigDlgAbout::init() "<strong>Email:</strong> [email protected]" ); } -bool KbfxConfigDlgAbout::eventFilter ( QObject *obj, QEvent *ev ) +bool KbfxConfigDlgAbout::eventFilter ( TQObject *obj, TQEvent *ev ) { - QCursor kbfxCursor; + TQCursor kbfxCursor; kbfxCursor.setShape ( Qt::PointingHandCursor ); - this->setCursor ( ( const QCursor ) kbfxCursor ); + this->setCursor ( ( const TQCursor ) kbfxCursor ); - if ( ev->type() == QEvent::FocusIn || ev->type() == QEvent::Enter ) + if ( ev->type() == TQEvent::FocusIn || ev->type() == TQEvent::Enter ) { - if ( obj == KbfxPixmapLabelNookie ) + if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(KbfxPixmapLabelNookie) ) { KbfxTeamInfo->setText ( KbfxMemberTextNookie ); KbfxUnmarkAllPixmaps(); - KbfxPixmapLabelNookie->setFrameShape ( QFrame::WinPanel ); + KbfxPixmapLabelNookie->setFrameShape ( TQFrame::WinPanel ); return TRUE; } - else if ( obj == KbfxPixmapLabelSiraj ) + else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(KbfxPixmapLabelSiraj) ) { KbfxTeamInfo->setText ( KbfxMemberTextSiraj ); KbfxUnmarkAllPixmaps(); - KbfxPixmapLabelSiraj->setFrameShape ( QFrame::WinPanel ); + KbfxPixmapLabelSiraj->setFrameShape ( TQFrame::WinPanel ); return TRUE; } - else if ( obj == KbfxPixmapLabelNathanael ) + else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(KbfxPixmapLabelNathanael) ) { KbfxTeamInfo->setText ( KbfxMemberTextNathanael ); KbfxUnmarkAllPixmaps(); - KbfxPixmapLabelNathanael->setFrameShape ( QFrame::WinPanel ); + KbfxPixmapLabelNathanael->setFrameShape ( TQFrame::WinPanel ); return TRUE; } - else if ( obj == KbfxPixmapLabelPhobosK ) + else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(KbfxPixmapLabelPhobosK) ) { KbfxTeamInfo->setText ( KbfxMemberTextPhobosK ); KbfxUnmarkAllPixmaps(); - KbfxPixmapLabelPhobosK->setFrameShape ( QFrame::WinPanel ); + KbfxPixmapLabelPhobosK->setFrameShape ( TQFrame::WinPanel ); return TRUE; } - else if ( obj == KbfxPixmapLabelJohnny ) + else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(KbfxPixmapLabelJohnny) ) { KbfxTeamInfo->setText ( KbfxMemberTextJohnny ); KbfxUnmarkAllPixmaps(); - KbfxPixmapLabelJohnny->setFrameShape ( QFrame::WinPanel ); + KbfxPixmapLabelJohnny->setFrameShape ( TQFrame::WinPanel ); return TRUE; } - else if ( obj == KbfxPixmapLabelEphracis ) + else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(KbfxPixmapLabelEphracis) ) { KbfxTeamInfo->setText ( KbfxMemberTextEphracis ); KbfxUnmarkAllPixmaps(); - KbfxPixmapLabelEphracis->setFrameShape ( QFrame::WinPanel ); + KbfxPixmapLabelEphracis->setFrameShape ( TQFrame::WinPanel ); return TRUE; } } /* - if ( ev->type() == QEvent::Leave ) + if ( ev->type() == TQEvent::Leave ) { if( obj == KbfxPixmapLabelNookie || @@ -144,16 +144,16 @@ bool KbfxConfigDlgAbout::eventFilter ( QObject *obj, QEvent *ev ) } */ - return QWidget::eventFilter ( obj, ev ); + return TQWidget::eventFilter ( obj, ev ); // return FALSE; } void KbfxConfigDlgAbout::KbfxUnmarkAllPixmaps() { - KbfxPixmapLabelNookie->setFrameShape ( QFrame::NoFrame ); - KbfxPixmapLabelSiraj->setFrameShape ( QFrame::NoFrame ); - KbfxPixmapLabelNathanael->setFrameShape ( QFrame::NoFrame ); - KbfxPixmapLabelPhobosK->setFrameShape ( QFrame::NoFrame ); - KbfxPixmapLabelEphracis->setFrameShape ( QFrame::NoFrame ); - KbfxPixmapLabelJohnny->setFrameShape ( QFrame::NoFrame ); + KbfxPixmapLabelNookie->setFrameShape ( TQFrame::NoFrame ); + KbfxPixmapLabelSiraj->setFrameShape ( TQFrame::NoFrame ); + KbfxPixmapLabelNathanael->setFrameShape ( TQFrame::NoFrame ); + KbfxPixmapLabelPhobosK->setFrameShape ( TQFrame::NoFrame ); + KbfxPixmapLabelEphracis->setFrameShape ( TQFrame::NoFrame ); + KbfxPixmapLabelJohnny->setFrameShape ( TQFrame::NoFrame ); } diff --git a/configdialog/kbfxconfigdlgbutton.ui b/configdialog/kbfxconfigdlgbutton.ui index 3d63e75..c5b5638 100644 --- a/configdialog/kbfxconfigdlgbutton.ui +++ b/configdialog/kbfxconfigdlgbutton.ui @@ -1,13 +1,13 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgButton</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgButton</cstring> </property> <property name="enabled"> <bool>true</bool> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -48,15 +48,15 @@ <property name="resizeMode"> <enum>Minimum</enum> </property> - <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> + <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout6</cstring> + <cstring>tqlayout6</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBoxPressed</cstring> </property> @@ -68,7 +68,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>150</height> @@ -80,7 +80,7 @@ <property name="title"> <string>"PRESSED" IMAGE SELECTION</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -93,7 +93,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel8</cstring> </property> @@ -142,7 +142,7 @@ </widget> </grid> </widget> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBox10</cstring> </property> @@ -154,7 +154,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>322</width> <height>150</height> @@ -166,7 +166,7 @@ <property name="title"> <string>Preview</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <hbox> @@ -191,13 +191,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>150</width> <height>50</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>150</width> <height>50</height> @@ -220,15 +220,15 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout7</cstring> + <cstring>tqlayout7</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBoxNormal</cstring> </property> @@ -240,7 +240,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>150</height> @@ -252,7 +252,7 @@ <property name="title"> <string>"NORMAL" IMAGE SELECTION</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -265,7 +265,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel6</cstring> </property> @@ -308,7 +308,7 @@ </widget> </grid> </widget> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBox7</cstring> </property> @@ -320,7 +320,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>322</width> <height>150</height> @@ -332,7 +332,7 @@ <property name="title"> <string>Preview</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <hbox> @@ -360,13 +360,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>150</width> <height>50</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>150</width> <height>50</height> @@ -389,15 +389,15 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> + <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout8</cstring> + <cstring>tqlayout8</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBoxHover</cstring> </property> @@ -409,7 +409,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>150</height> @@ -421,7 +421,7 @@ <property name="title"> <string>"HOVER" IMAGE SELECTION</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -434,7 +434,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel7</cstring> </property> @@ -486,7 +486,7 @@ </widget> </grid> </widget> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBox9</cstring> </property> @@ -498,7 +498,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>322</width> <height>150</height> @@ -510,7 +510,7 @@ <property name="title"> <string>Preview</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <hbox> @@ -535,13 +535,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>150</width> <height>50</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>150</width> <height>50</height> @@ -576,13 +576,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -620,7 +620,7 @@ <set>AutoAll</set> </property> </widget> - <widget class="QGroupBox" row="7" column="1"> + <widget class="TQGroupBox" row="7" column="1"> <property name="name"> <cstring>KbfxResizeKickerBox</cstring> </property> @@ -638,7 +638,7 @@ <property name="title"> <string>Resize Panel</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -651,7 +651,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel9_2</cstring> </property> @@ -669,13 +669,13 @@ <property name="textFormat"> <enum>RichText</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop|AlignLeft</set> </property> </widget> - <widget class="QLayoutWidget" row="2" column="0"> + <widget class="TQLayoutWidget" row="2" column="0"> <property name="name"> - <cstring>layout8</cstring> + <cstring>tqlayout8</cstring> </property> <hbox> <property name="name"> @@ -691,14 +691,14 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxResizeKicker</cstring> </property> @@ -710,7 +710,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>270</width> <height>58</height> @@ -745,7 +745,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -764,7 +764,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>1</height> @@ -785,13 +785,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -829,7 +829,7 @@ <set>AutoAll</set> </property> </widget> - <widget class="QGroupBox" row="7" column="0"> + <widget class="TQGroupBox" row="7" column="0"> <property name="name"> <cstring>groupBox11</cstring> </property> @@ -847,7 +847,7 @@ <property name="title"> <string>Livepreview</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <hbox> @@ -860,7 +860,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel9</cstring> </property> @@ -878,7 +878,7 @@ <property name="textFormat"> <enum>RichText</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop|AlignLeft</set> </property> </widget> @@ -892,7 +892,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>1</height> @@ -914,13 +914,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>150</width> <height>50</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>150</width> <height>50</height> @@ -944,7 +944,7 @@ </widget> </hbox> </widget> - <widget class="QButtonGroup" row="4" column="0" rowspan="1" colspan="2"> + <widget class="TQButtonGroup" row="4" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>KbfxFadeButton</cstring> </property> @@ -987,7 +987,7 @@ <property name="margin"> <number>10</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel5</cstring> </property> @@ -1009,7 +1009,7 @@ <string>Here you can enter the value of the fade effect transition time in msec.<br>Valid values are between 20 and 1000 msec.<br>Default is 75 msec.</string> </property> </widget> - <widget class="QLineEdit" row="0" column="1"> + <widget class="TQLineEdit" row="0" column="1"> <property name="name"> <cstring>KbfxFadeTime</cstring> </property> @@ -1027,7 +1027,7 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> <property name="toolTip" stdset="0"> @@ -1047,7 +1047,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> @@ -1066,7 +1066,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>1</height> @@ -1091,7 +1091,7 @@ <verstretch>0</verstretch> </sizepolicy> <pixmap>image1</pixmap> - <signal>targetDrop(const QString &)</signal> + <signal>targetDrop(const TQString &)</signal> <signal>mouseClicked( const ButtonState & )</signal> <signal>mouseDoubleClicked( const ButtonState & )</signal> <slot access="public" specifier="">dragEnterEvent( QDragEnterEvent *mouseDragEnterEvent )</slot> @@ -1137,39 +1137,39 @@ <connections> <connection> <sender>KbfxURLRequesterHover</sender> - <signal>urlSelected(const QString&)</signal> + <signal>urlSelected(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterHoverUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterHoverUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxURLRequesterPressed</sender> - <signal>urlSelected(const QString&)</signal> + <signal>urlSelected(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterPressedUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterPressedUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxURLRequesterNormal</sender> - <signal>urlSelected(const QString&)</signal> + <signal>urlSelected(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterNormalUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterNormalUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxURLRequesterHover</sender> - <signal>returnPressed(const QString&)</signal> + <signal>returnPressed(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterHoverUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterHoverUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxURLRequesterPressed</sender> - <signal>returnPressed(const QString&)</signal> + <signal>returnPressed(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterPressedUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterPressedUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxURLRequesterNormal</sender> - <signal>returnPressed(const QString&)</signal> + <signal>returnPressed(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterNormalUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterNormalUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxButton</sender> @@ -1179,21 +1179,21 @@ </connection> <connection> <sender>KbfxPixmapLabelHover</sender> - <signal>targetDrop(const QString&)</signal> + <signal>targetDrop(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterHoverUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterHoverUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxPixmapLabelNormal</sender> - <signal>targetDrop(const QString&)</signal> + <signal>targetDrop(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterNormalUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterNormalUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxPixmapLabelPressed</sender> - <signal>targetDrop(const QString&)</signal> + <signal>targetDrop(const TQString&)</signal> <receiver>KbfxConfigDlgButton</receiver> - <slot>KbfxURLRequesterPressedUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterPressedUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxResizeKicker</sender> @@ -1231,30 +1231,30 @@ <includes> <include location="global" impldecl="in declaration">kmessagebox.h</include> <include location="global" impldecl="in declaration">kbfxpushbutton.h</include> - <include location="global" impldecl="in declaration">qstring.h</include> - <include location="global" impldecl="in declaration">qpainter.h</include> - <include location="global" impldecl="in declaration">qimage.h</include> + <include location="global" impldecl="in declaration">tqstring.h</include> + <include location="global" impldecl="in declaration">tqpainter.h</include> + <include location="global" impldecl="in declaration">tqimage.h</include> <include location="global" impldecl="in declaration">kbfxpixmaplabel.h</include> <include location="local" impldecl="in implementation">kbfxconfigdlgbutton.ui.h</include> </includes> -<signals> - <signal>KbfxConfigDlgButtonChanged(const char * name, const QString & path)</signal> -</signals> -<slots> - <slot>KbfxURLRequesterNormalUrlSelected( const QString & selected_img_path )</slot> - <slot>KbfxURLRequesterPressedUrlSelected( const QString & selected_img_path )</slot> - <slot>KbfxURLRequesterHoverUrlSelected( const QString & selected_img_path )</slot> +<Q_SIGNALS> + <signal>KbfxConfigDlgButtonChanged(const char * name, const TQString & path)</signal> +</Q_SIGNALS> +<Q_SLOTS> + <slot>KbfxURLRequesterNormalUrlSelected( const TQString & selected_img_path )</slot> + <slot>KbfxURLRequesterPressedUrlSelected( const TQString & selected_img_path )</slot> + <slot>KbfxURLRequesterHoverUrlSelected( const TQString & selected_img_path )</slot> <slot>KbfxButtonToggled( bool )</slot> - <slot>ChangeForm( const char * name, const QString & path )</slot> + <slot>ChangeForm( const char * name, const TQString & path )</slot> <slot>ChangeForm()</slot> <slot>KbfxResizeKickerToggled( bool )</slot> <slot>KbfxFadeButton_toggled( bool _state )</slot> <slot>KbfxFadeTime_lostFocus()</slot> -</slots> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> </functions> -<layoutdefaults spacing="4" margin="0"/> +<tqlayoutdefaults spacing="4" margin="0"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> diff --git a/configdialog/kbfxconfigdlgbutton.ui.h b/configdialog/kbfxconfigdlgbutton.ui.h index 015b860..0901dd2 100644 --- a/configdialog/kbfxconfigdlgbutton.ui.h +++ b/configdialog/kbfxconfigdlgbutton.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -12,22 +12,22 @@ void KbfxConfigDlgButton::init() { - connect ( this, SIGNAL ( KbfxConfigDlgButtonChanged ( const char *, const QString & ) ), - this, SLOT ( ChangeForm ( const char *, const QString & ) ) ); + connect ( this, TQT_SIGNAL ( KbfxConfigDlgButtonChanged ( const char *, const TQString & ) ), + this, TQT_SLOT ( ChangeForm ( const char *, const TQString & ) ) ); } /* actions performed when url is selected */ -void KbfxConfigDlgButton::KbfxURLRequesterNormalUrlSelected ( const QString &selected_img_path ) +void KbfxConfigDlgButton::KbfxURLRequesterNormalUrlSelected ( const TQString &selected_img_path ) { emit KbfxConfigDlgButtonChanged ( "normal", selected_img_path ); } -void KbfxConfigDlgButton::KbfxURLRequesterPressedUrlSelected ( const QString &selected_img_path ) +void KbfxConfigDlgButton::KbfxURLRequesterPressedUrlSelected ( const TQString &selected_img_path ) { emit KbfxConfigDlgButtonChanged ( "pressed", selected_img_path ); } -void KbfxConfigDlgButton::KbfxURLRequesterHoverUrlSelected ( const QString &selected_img_path ) +void KbfxConfigDlgButton::KbfxURLRequesterHoverUrlSelected ( const TQString &selected_img_path ) { emit KbfxConfigDlgButtonChanged ( "hover", selected_img_path ); } @@ -42,16 +42,16 @@ void KbfxConfigDlgButton::KbfxButtonToggled ( bool ) } /* url processing */ -void KbfxConfigDlgButton::ChangeForm ( const char *name, const QString &path ) +void KbfxConfigDlgButton::ChangeForm ( const char *name, const TQString &path ) { kdDebug() << "Received: " << name << " + " << path << endl; - QString tmppath = path; + TQString tmppath = path; if ( tmppath.startsWith ( "file://" ) ) tmppath.remove ( "file://" ); - QImage tmp ( tmppath ); + TQImage tmp ( tmppath ); - QString tmpname = name; + TQString tmpname = name; if ( tmpname == "pressed" ) { if ( tmp.isNull() ) @@ -133,7 +133,7 @@ void KbfxConfigDlgButton::ChangeForm() if ( ConfigInit().m_ToolBarResize == FALSE && KbfxResizeKicker->state() == 2 ) KbfxResizeKicker->toggle(); - KbfxFadeTime->setText ( QString::number ( ConfigInit().m_fadeTime ) ); + KbfxFadeTime->setText ( TQString::number ( ConfigInit().m_fadeTime ) ); } @@ -163,7 +163,7 @@ void KbfxConfigDlgButton::KbfxFadeButton_toggled( bool _state ) { if ( _state ) { - KbfxFadeTime->setText ( QString::number ( ConfigInit().m_fadeTimeDefault ) ); + KbfxFadeTime->setText ( TQString::number ( ConfigInit().m_fadeTimeDefault ) ); ConfigInit().m_fadeTime = ConfigInit().m_fadeTimeDefault; } else @@ -179,5 +179,5 @@ void KbfxConfigDlgButton::KbfxFadeTime_lostFocus() ConfigInit().m_fadeTime = _value; ConfigInit().checkValues(); - KbfxFadeTime->setText ( QString::number ( ConfigInit().m_fadeTime ) ); + KbfxFadeTime->setText ( TQString::number ( ConfigInit().m_fadeTime ) ); } diff --git a/configdialog/kbfxconfigdlgfonts-old.ui b/configdialog/kbfxconfigdlgfonts-old.ui index e76071f..0b24c19 100644 --- a/configdialog/kbfxconfigdlgfonts-old.ui +++ b/configdialog/kbfxconfigdlgfonts-old.ui @@ -1,10 +1,10 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgFonts</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgFonts</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -51,13 +51,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -83,9 +83,9 @@ <string><b><h3><p align="center">Font options</p></h3></b></string> </property> </widget> - <widget class="QLayoutWidget" row="2" column="0"> + <widget class="TQLayoutWidget" row="2" column="0"> <property name="name"> - <cstring>layout14</cstring> + <cstring>tqlayout14</cstring> </property> <hbox> <property name="name"> @@ -101,14 +101,14 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>436</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxExportFile</cstring> </property> @@ -132,7 +132,7 @@ </widget> </hbox> </widget> - <widget class="QGroupBox" row="1" column="0"> + <widget class="TQGroupBox" row="1" column="0"> <property name="name"> <cstring>groupBox43</cstring> </property> @@ -167,24 +167,24 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>1</height> </size> </property> </spacer> - <widget class="QLayoutWidget" row="4" column="0"> + <widget class="TQLayoutWidget" row="4" column="0"> <property name="name"> - <cstring>layout17</cstring> + <cstring>tqlayout17</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout15</cstring> + <cstring>tqlayout15</cstring> </property> <vbox> <property name="name"> @@ -200,16 +200,16 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> </size> </property> </spacer> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout22</cstring> + <cstring>tqlayout22</cstring> </property> <hbox> <property name="name"> @@ -261,9 +261,9 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout21</cstring> + <cstring>tqlayout21</cstring> </property> <hbox> <property name="name"> @@ -315,9 +315,9 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout20</cstring> + <cstring>tqlayout20</cstring> </property> <hbox> <property name="name"> @@ -369,9 +369,9 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout19</cstring> + <cstring>tqlayout19</cstring> </property> <hbox> <property name="name"> @@ -423,9 +423,9 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout23</cstring> + <cstring>tqlayout23</cstring> </property> <hbox> <property name="name"> @@ -471,9 +471,9 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout17</cstring> + <cstring>tqlayout17</cstring> </property> <hbox> <property name="name"> @@ -525,9 +525,9 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout18</cstring> + <cstring>tqlayout18</cstring> </property> <hbox> <property name="name"> @@ -579,9 +579,9 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout18_2</cstring> + <cstring>tqlayout18_2</cstring> </property> <hbox> <property name="name"> @@ -649,9 +649,9 @@ <enum>Vertical</enum> </property> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16</cstring> + <cstring>tqlayout16</cstring> </property> <vbox> <property name="name"> @@ -667,7 +667,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>22</width> <height>1</height> @@ -821,7 +821,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>1</height> @@ -842,9 +842,9 @@ <enum>Horizontal</enum> </property> </widget> - <widget class="QLayoutWidget" row="1" column="0"> + <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout15</cstring> + <cstring>tqlayout15</cstring> </property> <hbox> <property name="name"> @@ -868,7 +868,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>32767</height> @@ -896,7 +896,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>32767</height> @@ -928,7 +928,7 @@ <string>Please select the theme you want to edit</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>KbfxBoldHover</cstring> </property> @@ -965,7 +965,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>1</height> @@ -1010,39 +1010,39 @@ <connections> <connection> <sender>KbfxApplicationColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxApplicationColorSelected(const QColor&)</slot> + <slot>KbfxApplicationColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxCommentColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxCommentColorSelected(const QColor&)</slot> + <slot>KbfxCommentColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxLineColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxLineColorSelected(const QColor&)</slot> + <slot>KbfxLineColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxCategoryColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxCategoryColorSelected(const QColor&)</slot> + <slot>KbfxCategoryColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxNameColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxNameColorSelected(const QColor&)</slot> + <slot>KbfxNameColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxSeparatorColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxSeparatorColorSelected(const QColor&)</slot> + <slot>KbfxSeparatorColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxExportFile</sender> @@ -1082,9 +1082,9 @@ </connection> <connection> <sender>KbfxPluginColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxPluginColorSelected(const QColor&)</slot> + <slot>KbfxPluginColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxFont_separator</sender> @@ -1100,9 +1100,9 @@ </connection> <connection> <sender>KbfxTooltipColor</sender> - <signal>activated(const QColor&)</signal> + <signal>activated(const TQColor&)</signal> <receiver>KbfxConfigDlgFonts</receiver> - <slot>KbfxTooltipColorSelected(const QColor&)</slot> + <slot>KbfxTooltipColorSelected(const TQColor&)</slot> </connection> <connection> <sender>KbfxFont_tooltip</sender> @@ -1144,24 +1144,24 @@ <variables> <variable access="private">bool KbfxFormReady;</variable> </variables> -<slots> +<Q_SLOTS> <slot>ChangeForm()</slot> - <slot>KbfxApplicationColorSelected( const QColor & color )</slot> - <slot>KbfxTooltipColorSelected( const QColor & )</slot> - <slot>KbfxCommentColorSelected( const QColor & color )</slot> - <slot>KbfxLineColorSelected( const QColor & color )</slot> - <slot>KbfxCategoryColorSelected( const QColor & color )</slot> - <slot>KbfxNameColorSelected( const QColor & color )</slot> - <slot>KbfxSeparatorColorSelected( const QColor & color )</slot> - <slot>KbfxPluginColorSelected( const QColor & color )</slot> + <slot>KbfxApplicationColorSelected( const TQColor & color )</slot> + <slot>KbfxTooltipColorSelected( const TQColor & )</slot> + <slot>KbfxCommentColorSelected( const TQColor & color )</slot> + <slot>KbfxLineColorSelected( const TQColor & color )</slot> + <slot>KbfxCategoryColorSelected( const TQColor & color )</slot> + <slot>KbfxNameColorSelected( const TQColor & color )</slot> + <slot>KbfxSeparatorColorSelected( const TQColor & color )</slot> + <slot>KbfxPluginColorSelected( const TQColor & color )</slot> <slot>KbfxExportFileAction()</slot> <slot>FontChanged()</slot> <slot>KbfxBoldHover_toggled( bool state )</slot> -</slots> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> </functions> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kactivelabel.h</includehint> <includehint>kactivelabel.h</includehint> diff --git a/configdialog/kbfxconfigdlgfonts-old.ui.h b/configdialog/kbfxconfigdlgfonts-old.ui.h index 11ad864..49f12fa 100644 --- a/configdialog/kbfxconfigdlgfonts-old.ui.h +++ b/configdialog/kbfxconfigdlgfonts-old.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -38,7 +38,7 @@ void KbfxConfigDlgFonts::ChangeForm() KbfxFormReady = TRUE; } -void KbfxConfigDlgFonts::KbfxApplicationColorSelected ( const QColor &color ) +void KbfxConfigDlgFonts::KbfxApplicationColorSelected ( const TQColor &color ) { ConfigInit().m_fontAppNameColor = color; @@ -47,7 +47,7 @@ void KbfxConfigDlgFonts::KbfxApplicationColorSelected ( const QColor &color ) << endl; } -void KbfxConfigDlgFonts::KbfxTooltipColorSelected ( const QColor &color ) +void KbfxConfigDlgFonts::KbfxTooltipColorSelected ( const TQColor &color ) { ConfigInit().m_fontTooltipColor = color; @@ -56,7 +56,7 @@ void KbfxConfigDlgFonts::KbfxTooltipColorSelected ( const QColor &color ) << endl; } -void KbfxConfigDlgFonts::KbfxCommentColorSelected ( const QColor &color ) +void KbfxConfigDlgFonts::KbfxCommentColorSelected ( const TQColor &color ) { ConfigInit().m_fontAppCommentColor = color; @@ -65,7 +65,7 @@ void KbfxConfigDlgFonts::KbfxCommentColorSelected ( const QColor &color ) << endl; } -void KbfxConfigDlgFonts::KbfxLineColorSelected ( const QColor & color ) +void KbfxConfigDlgFonts::KbfxLineColorSelected ( const TQColor & color ) { ConfigInit().m_lineColor = color; @@ -74,7 +74,7 @@ void KbfxConfigDlgFonts::KbfxLineColorSelected ( const QColor & color ) << endl; } -void KbfxConfigDlgFonts::KbfxCategoryColorSelected ( const QColor &color ) +void KbfxConfigDlgFonts::KbfxCategoryColorSelected ( const TQColor &color ) { ConfigInit().m_fontIndexColor = color; @@ -83,7 +83,7 @@ void KbfxConfigDlgFonts::KbfxCategoryColorSelected ( const QColor &color ) << endl; } -void KbfxConfigDlgFonts::KbfxNameColorSelected ( const QColor &color ) +void KbfxConfigDlgFonts::KbfxNameColorSelected ( const TQColor &color ) { ConfigInit().m_userNameColor = color; @@ -92,7 +92,7 @@ void KbfxConfigDlgFonts::KbfxNameColorSelected ( const QColor &color ) << endl; } -void KbfxConfigDlgFonts::KbfxSeparatorColorSelected ( const QColor &color ) +void KbfxConfigDlgFonts::KbfxSeparatorColorSelected ( const TQColor &color ) { ConfigInit().m_sepNameColor = color; @@ -101,7 +101,7 @@ void KbfxConfigDlgFonts::KbfxSeparatorColorSelected ( const QColor &color ) << endl; } -void KbfxConfigDlgFonts::KbfxPluginColorSelected( const QColor &color ) +void KbfxConfigDlgFonts::KbfxPluginColorSelected( const TQColor &color ) { ConfigInit().m_pluginNameColor = color; @@ -113,7 +113,7 @@ void KbfxConfigDlgFonts::KbfxPluginColorSelected( const QColor &color ) void KbfxConfigDlgFonts::KbfxExportFileAction() { /* - KFileDialog KbfxExportFontRcDialog(QString::null, + KFileDialog KbfxExportFontRcDialog(TQString(), "*.*|" + tr2i18n("All files"), 0, 0, @@ -124,11 +124,11 @@ void KbfxConfigDlgFonts::KbfxExportFileAction() if(!KbfxExportFontRcDialog.exec()) return; - QString KbfxExportFontRcDialogURL = KbfxExportFontRcDialog.selectedURL().path(); + TQString KbfxExportFontRcDialogURL = KbfxExportFontRcDialog.selectedURL().path(); */ - QString KbfxExportFontRcDialogURL = KFileDialog::getExistingDirectory ( - QString::null, + TQString KbfxExportFontRcDialogURL = KFileDialog::getExistingDirectory ( + TQString(), 0, tr2i18n ( "Select folder to export kbfxfontrc file" ) ).append ( "/kbfxfontrc" ); diff --git a/configdialog/kbfxconfigdlglayout.ui b/configdialog/kbfxconfigdlglayout.ui index f759df9..f536a7d 100644 --- a/configdialog/kbfxconfigdlglayout.ui +++ b/configdialog/kbfxconfigdlglayout.ui @@ -1,10 +1,10 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgLayout</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgLayout</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -51,13 +51,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -83,9 +83,9 @@ <string><b><h3><p align="center">Layout options</p></h3></b></string> </property> </widget> - <widget class="QLayoutWidget" row="2" column="0"> + <widget class="TQLayoutWidget" row="2" column="0"> <property name="name"> - <cstring>layout14_2</cstring> + <cstring>tqlayout14_2</cstring> </property> <hbox> <property name="name"> @@ -101,14 +101,14 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>408</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxExportFile</cstring> </property> @@ -127,12 +127,12 @@ <string>EXPORT KBFXLAYOUTRC FILE</string> </property> <property name="toolTip" stdset="0"> - <string>Export the kbfxlayoutrc file to a folder</string> + <string>Export the kbfxtqlayoutrc file to a folder</string> </property> </widget> </hbox> </widget> - <widget class="QGroupBox" row="1" column="0"> + <widget class="TQGroupBox" row="1" column="0"> <property name="name"> <cstring>groupBox43</cstring> </property> @@ -167,16 +167,16 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>23</width> <height>1</height> </size> </property> </spacer> - <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout30</cstring> + <cstring>tqlayout30</cstring> </property> <hbox> <property name="name"> @@ -279,16 +279,16 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>1</height> </size> </property> </spacer> - <widget class="QLayoutWidget" row="6" column="0" rowspan="1" colspan="2"> + <widget class="TQLayoutWidget" row="6" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout17</cstring> + <cstring>tqlayout17</cstring> </property> <hbox> <property name="name"> @@ -304,14 +304,14 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>Kbfx2PanelsLeft</cstring> </property> @@ -327,7 +327,7 @@ <string>Make it 2 panels (Left "ON")</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>Kbfx2PanelsRight</cstring> </property> @@ -343,7 +343,7 @@ <string>Make it 2 panels (Right "ON")</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>Kbfx3Panels</cstring> </property> @@ -369,7 +369,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -388,24 +388,24 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>1</height> </size> </property> </spacer> - <widget class="QLayoutWidget" row="4" column="0" rowspan="1" colspan="2"> + <widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout33</cstring> + <cstring>tqlayout33</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout28</cstring> + <cstring>tqlayout28</cstring> </property> <vbox> <property name="name"> @@ -417,9 +417,9 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout21</cstring> + <cstring>tqlayout21</cstring> </property> <vbox> <property name="name"> @@ -431,9 +431,9 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16</cstring> + <cstring>tqlayout16</cstring> </property> <hbox> <property name="name"> @@ -445,7 +445,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel1</cstring> </property> @@ -461,7 +461,7 @@ <string>textLabel1</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit1</cstring> </property> @@ -479,15 +479,15 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16_2</cstring> + <cstring>tqlayout16_2</cstring> </property> <hbox> <property name="name"> @@ -499,7 +499,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel2</cstring> </property> @@ -515,7 +515,7 @@ <string>textLabel2</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit2</cstring> </property> @@ -533,15 +533,15 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16_3</cstring> + <cstring>tqlayout16_3</cstring> </property> <hbox> <property name="name"> @@ -553,7 +553,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel3</cstring> </property> @@ -569,7 +569,7 @@ <string>textLabel3</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit3</cstring> </property> @@ -587,15 +587,15 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16_4</cstring> + <cstring>tqlayout16_4</cstring> </property> <hbox> <property name="name"> @@ -607,7 +607,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel4</cstring> </property> @@ -623,7 +623,7 @@ <string>textLabel4</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit4</cstring> </property> @@ -641,7 +641,7 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> @@ -649,7 +649,7 @@ </widget> </vbox> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>checkBox1</cstring> </property> @@ -689,9 +689,9 @@ <enum>Vertical</enum> </property> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout29</cstring> + <cstring>tqlayout29</cstring> </property> <vbox> <property name="name"> @@ -703,9 +703,9 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout21_2</cstring> + <cstring>tqlayout21_2</cstring> </property> <vbox> <property name="name"> @@ -717,9 +717,9 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16_5</cstring> + <cstring>tqlayout16_5</cstring> </property> <hbox> <property name="name"> @@ -731,7 +731,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel5</cstring> </property> @@ -747,7 +747,7 @@ <string>textLabel5</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit5</cstring> </property> @@ -765,15 +765,15 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16_2_2</cstring> + <cstring>tqlayout16_2_2</cstring> </property> <hbox> <property name="name"> @@ -785,7 +785,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel6</cstring> </property> @@ -801,7 +801,7 @@ <string>textLabel6</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit6</cstring> </property> @@ -819,15 +819,15 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16_3_2</cstring> + <cstring>tqlayout16_3_2</cstring> </property> <hbox> <property name="name"> @@ -839,7 +839,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel7</cstring> </property> @@ -855,7 +855,7 @@ <string>textLabel7</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit7</cstring> </property> @@ -873,15 +873,15 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout16_4_2</cstring> + <cstring>tqlayout16_4_2</cstring> </property> <hbox> <property name="name"> @@ -893,7 +893,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel8</cstring> </property> @@ -909,7 +909,7 @@ <string>textLabel8</string> </property> </widget> - <widget class="QLineEdit"> + <widget class="TQLineEdit"> <property name="name"> <cstring>lineEdit8</cstring> </property> @@ -927,7 +927,7 @@ <property name="frameShape"> <enum>StyledPanel</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignHCenter</set> </property> </widget> @@ -935,7 +935,7 @@ </widget> </vbox> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>checkBox2</cstring> </property> @@ -968,7 +968,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>23</width> <height>1</height> @@ -1050,16 +1050,16 @@ <include location="global" impldecl="in declaration">kbfxthemesdata.h</include> <include location="global" impldecl="in declaration">kbfxconfig.h</include> <include location="global" impldecl="in declaration">kdebug.h</include> - <include location="global" impldecl="in declaration">qstringlist.h</include> + <include location="global" impldecl="in declaration">tqstringlist.h</include> <include location="global" impldecl="in declaration">kstandarddirs.h</include> <include location="global" impldecl="in declaration">kmessagebox.h</include> <include location="global" impldecl="in declaration">kfiledialog.h</include> - <include location="local" impldecl="in implementation">kbfxconfigdlglayout.ui.h</include> + <include location="local" impldecl="in implementation">kbfxconfigdlgtqlayout.ui.h</include> </includes> <variables> <variable access="private">int previous_state;</variable> </variables> -<slots> +<Q_SLOTS> <slot>ChangeForm()</slot> <slot>KbfxLayoutProperty_activated( int index )</slot> <slot>KbfxExportFileAction()</slot> @@ -1067,14 +1067,14 @@ <slot>Kbfx2PanelsLeft_clicked()</slot> <slot>Kbfx2PanelsRight_clicked()</slot> <slot>Kbfx3Panels_clicked()</slot> -</slots> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> <function access="private">KbfxShowAll()</function> <function access="private">KbfxMakePanel(int)</function> <function access="private" returnType="bool">KbfxMessage()</function> </functions> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kactivelabel.h</includehint> <includehint>kactivelabel.h</includehint> diff --git a/configdialog/kbfxconfigdlglayout.ui.h b/configdialog/kbfxconfigdlglayout.ui.h index 0ce4a70..3d595d6 100644 --- a/configdialog/kbfxconfigdlglayout.ui.h +++ b/configdialog/kbfxconfigdlglayout.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -187,7 +187,7 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) break; } default: /* default action switch does nothing */ - kdDebug() << "Default action switch for saving layout changed..." << endl; + kdDebug() << "Default action switch for saving tqlayout changed..." << endl; } KbfxShowAll (); @@ -205,14 +205,14 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->setText ( tr2i18n ( "Face Box Width" ) ); checkBox1->setText ( tr2i18n ( "Hide User Name" ) ); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_facePos_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_facePos_y ) ); - lineEdit3->setText ( QString::number ( ConfigInit().m_userNamePos_x ) ); - lineEdit4->setText ( QString::number ( ConfigInit().m_userNamePos_y ) ); - lineEdit5->setText ( QString::number ( ConfigInit().m_faceIconX ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_faceIconY ) ); - lineEdit7->setText ( QString::number ( ConfigInit().m_faceIconH ) ); - lineEdit8->setText ( QString::number ( ConfigInit().m_faceIconW ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_facePos_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_facePos_y ) ); + lineEdit3->setText ( TQString::number ( ConfigInit().m_userNamePos_x ) ); + lineEdit4->setText ( TQString::number ( ConfigInit().m_userNamePos_y ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_faceIconX ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_faceIconY ) ); + lineEdit7->setText ( TQString::number ( ConfigInit().m_faceIconH ) ); + lineEdit8->setText ( TQString::number ( ConfigInit().m_faceIconW ) ); checkBox1->setChecked ( ConfigInit().m_faceBoxHideText ); previous_state = 0; break; @@ -233,15 +233,15 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); -// lineEdit1->setText ( QString::number ( ConfigInit().m_topBar_x ) ); -// lineEdit2->setText ( QString::number ( ConfigInit().m_topBar_y ) ); - lineEdit1->setText ( QString::number ( ConfigInit().m_topBar_h ) ); +// lineEdit1->setText ( TQString::number ( ConfigInit().m_topBar_x ) ); +// lineEdit2->setText ( TQString::number ( ConfigInit().m_topBar_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_topBar_h ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); -// lineEdit5->setText ( QString::number ( ConfigInit().m_topBar_h ) ); -// lineEdit6->setText ( QString::number ( ConfigInit().m_topBar_w ) ); - lineEdit5->setText ( QString::number ( ConfigInit().m_topBar_w ) ); +// lineEdit5->setText ( TQString::number ( ConfigInit().m_topBar_h ) ); +// lineEdit6->setText ( TQString::number ( ConfigInit().m_topBar_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_topBar_w ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -264,15 +264,15 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); -// lineEdit1->setText ( QString::number ( ConfigInit().m_botBar_x ) ); -// lineEdit2->setText ( QString::number ( ConfigInit().m_botBar_y ) ); - lineEdit1->setText ( QString::number ( ConfigInit().m_botBar_h ) ); +// lineEdit1->setText ( TQString::number ( ConfigInit().m_botBar_x ) ); +// lineEdit2->setText ( TQString::number ( ConfigInit().m_botBar_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_botBar_h ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); -// lineEdit5->setText ( QString::number ( ConfigInit().m_botBar_h ) ); -// lineEdit6->setText ( QString::number ( ConfigInit().m_botBar_w ) ); - lineEdit5->setText ( QString::number ( ConfigInit().m_botBar_w ) ); +// lineEdit5->setText ( TQString::number ( ConfigInit().m_botBar_h ) ); +// lineEdit6->setText ( TQString::number ( ConfigInit().m_botBar_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_botBar_w ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -293,12 +293,12 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_scrollBarTopX ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_scrollBarTopY ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_scrollBarTopX ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_scrollBarTopY ) ); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_scrollBarBotX ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_scrollBarBotY ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_scrollBarBotX ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_scrollBarBotY ) ); lineEdit7->hide(); lineEdit8->hide(); previous_state = 3; @@ -318,12 +318,12 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_listBox_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_listBox_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_listBox_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_listBox_y ) ); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_listBox_h ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_listBox_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_listBox_h ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_listBox_w ) ); lineEdit7->hide(); lineEdit8->hide(); previous_state = 3; @@ -341,12 +341,12 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_searchBox_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_searchBox_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_searchBox_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_searchBox_y ) ); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_searchBox_h ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_searchBox_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_searchBox_h ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_searchBox_w ) ); lineEdit7->hide(); lineEdit8->hide(); previous_state = 4; @@ -364,13 +364,13 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->setText ( tr2i18n ( "No Comments in Item" ) ); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_itemView_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_itemView_y ) ); - lineEdit3->setText ( QString::number ( ConfigInit().m_iconSize ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_itemView_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_itemView_y ) ); + lineEdit3->setText ( TQString::number ( ConfigInit().m_iconSize ) ); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_itemView_h ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_itemView_w ) ); - lineEdit7->setText ( QString::number ( ConfigInit().m_commentMargine ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_itemView_h ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_itemView_w ) ); + lineEdit7->setText ( TQString::number ( ConfigInit().m_commentMargine ) ); lineEdit8->hide(); checkBox1->setChecked ( ConfigInit().m_noComments ); previous_state = 5; @@ -389,11 +389,11 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_toolBarButtonNormalSize ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_toolBarButtonNormalSize ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_toolBarButtonExpandSize ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_toolBarButtonExpandSize ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -413,11 +413,11 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->setText ( tr2i18n ( "Contracted Menues" ) ); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_userMenuHeight ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_userMenuHeight ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_userMenuWidth ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_userMenuWidth ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -426,7 +426,7 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) break; } default: /* default action switch should never be reached */ - kdDebug() << "Default action switch for layout changed..." << endl; + kdDebug() << "Default action switch for tqlayout changed..." << endl; } } @@ -454,100 +454,100 @@ void KbfxConfigDlgLayout::KbfxShowAll() void KbfxConfigDlgLayout::KbfxExportFileAction() { - QString KbfxExportLayoutRcDialogURL = KFileDialog::getExistingDirectory ( - QString::null, + TQString KbfxExportLayoutRcDialogURL = KFileDialog::getExistingDirectory ( + TQString(), 0, - tr2i18n ( "Select folder to export kbfxlayoutrc file" ) ).append ( "/kbfxlayoutrc" ); + tr2i18n ( "Select folder to export kbfxtqlayoutrc file" ) ).append ( "/kbfxtqlayoutrc" ); - if ( KbfxExportLayoutRcDialogURL == "/kbfxlayoutrc") return; + if ( KbfxExportLayoutRcDialogURL == "/kbfxtqlayoutrc") return; kdDebug() << "Selected export file is: " << KbfxExportLayoutRcDialogURL << endl; - /* write layout theme configuration file */ - KConfig *layoutconfig = new KConfig ( KbfxExportLayoutRcDialogURL ); + /* write tqlayout theme configuration file */ + KConfig *tqlayoutconfig = new KConfig ( KbfxExportLayoutRcDialogURL ); - layoutconfig->setGroup ( "KbfxButton" ); - layoutconfig->writeEntry ( "FadeTime", ConfigInit().m_fadeTime ); + tqlayoutconfig->setGroup ( "KbfxButton" ); + tqlayoutconfig->writeEntry ( "FadeTime", ConfigInit().m_fadeTime ); /* // No need for this to be exported because it is user/installation specific - layoutconfig->writeEntry ( "Normal", ConfigInit().m_KbfxNormalButtonPath ); - layoutconfig->writeEntry ( "Hover", ConfigInit().m_KbfxHoverButtonPath ); - layoutconfig->writeEntry ( "Press", ConfigInit().m_KbfxPressedButtonPath ); - - layoutconfig->setGroup ( "ToolTip" ); - layoutconfig->writeEntry ( "Avatar", m_ToolTipAvatar ); - layoutconfig->writeEntry ( "Dudebox", m_SpinxTooltipDudebox ); - layoutconfig->writeEntry ( "Mask", m_SpinxTooltipMask ); - layoutconfig->writeEntry ( "Window", m_SpinxTooltipWindow ); - layoutconfig->writeEntry ( "Logo", m_SpinxTooltipLogo ); + tqlayoutconfig->writeEntry ( "Normal", ConfigInit().m_KbfxNormalButtonPath ); + tqlayoutconfig->writeEntry ( "Hover", ConfigInit().m_KbfxHoverButtonPath ); + tqlayoutconfig->writeEntry ( "Press", ConfigInit().m_KbfxPressedButtonPath ); + + tqlayoutconfig->setGroup ( "ToolTip" ); + tqlayoutconfig->writeEntry ( "Avatar", m_ToolTipAvatar ); + tqlayoutconfig->writeEntry ( "Dudebox", m_SpinxTooltipDudebox ); + tqlayoutconfig->writeEntry ( "Mask", m_SpinxTooltipMask ); + tqlayoutconfig->writeEntry ( "Window", m_SpinxTooltipWindow ); + tqlayoutconfig->writeEntry ( "Logo", m_SpinxTooltipLogo ); */ - layoutconfig->setGroup ( "TopBar" ); - layoutconfig->writeEntry ( "DudeX", ConfigInit().m_facePos_x ); - layoutconfig->writeEntry ( "DudeY", ConfigInit().m_facePos_y ); - layoutconfig->writeEntry ( "FaceX", ConfigInit().m_faceIconX ); - layoutconfig->writeEntry ( "FaceY", ConfigInit().m_faceIconY ); - layoutconfig->writeEntry ( "FaceH", ConfigInit().m_faceIconH ); - layoutconfig->writeEntry ( "FaceW", ConfigInit().m_faceIconW ); - layoutconfig->writeEntry ( "UserNameX", ConfigInit().m_userNamePos_x ); - layoutconfig->writeEntry ( "UserNameY", ConfigInit().m_userNamePos_y ); - layoutconfig->writeEntry ( "DisableUserName", ConfigInit().m_faceBoxHideText ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_topBar_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_topBar_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_topBar_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_topBar_y ); - - layoutconfig->setGroup ( "BottomBar" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_botBar_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_botBar_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_botBar_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_botBar_y ); - - layoutconfig->setGroup ( "Scrollbars" ); - layoutconfig->writeEntry ( "ScrollBarBotX", ConfigInit().m_scrollBarBotX ); - layoutconfig->writeEntry ( "ScrollBarBotY", ConfigInit().m_scrollBarBotY ); - layoutconfig->writeEntry ( "ScrollBarTopX", ConfigInit().m_scrollBarTopX ); - layoutconfig->writeEntry ( "ScrollBarTopY", ConfigInit().m_scrollBarTopY ); - - layoutconfig->setGroup ( "ListBox" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_listBox_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_listBox_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_listBox_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_listBox_y ); - - layoutconfig->setGroup ( "SearchBox" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_searchBox_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_searchBox_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_searchBox_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_searchBox_y ); - layoutconfig->writeEntry ( "FixedPos", ConfigInit().m_searchBox_static ); - - layoutconfig->setGroup ( "ItemView" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_itemView_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_itemView_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_itemView_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_itemView_y ); - - layoutconfig->setGroup ( "ToolBar" ); - layoutconfig->writeEntry ( "ButtonNormalSize", ConfigInit().m_toolBarButtonNormalSize ); - layoutconfig->writeEntry ( "ButtonPressedSize", ConfigInit().m_toolBarButtonExpandSize ); - - layoutconfig->setGroup ( "MainMenu" ); - layoutconfig->writeEntry ( "UserMenuHeight", ConfigInit().m_userMenuHeight ); - layoutconfig->writeEntry ( "UserMenuWidth", ConfigInit().m_userMenuWidth ); - layoutconfig->writeEntry ( "ContractedMenu", ConfigInit().m_startHidden ); - - layoutconfig->setGroup ( "ItemProperties" ); - layoutconfig->writeEntry ( "NoComments", ConfigInit().m_noComments ); - layoutconfig->writeEntry ( "CommentMargin", ConfigInit().m_commentMargine ); - layoutconfig->writeEntry ( "IconSize", ConfigInit().m_iconSize ); - - layoutconfig->sync(); - - delete layoutconfig; + tqlayoutconfig->setGroup ( "TopBar" ); + tqlayoutconfig->writeEntry ( "DudeX", ConfigInit().m_facePos_x ); + tqlayoutconfig->writeEntry ( "DudeY", ConfigInit().m_facePos_y ); + tqlayoutconfig->writeEntry ( "FaceX", ConfigInit().m_faceIconX ); + tqlayoutconfig->writeEntry ( "FaceY", ConfigInit().m_faceIconY ); + tqlayoutconfig->writeEntry ( "FaceH", ConfigInit().m_faceIconH ); + tqlayoutconfig->writeEntry ( "FaceW", ConfigInit().m_faceIconW ); + tqlayoutconfig->writeEntry ( "UserNameX", ConfigInit().m_userNamePos_x ); + tqlayoutconfig->writeEntry ( "UserNameY", ConfigInit().m_userNamePos_y ); + tqlayoutconfig->writeEntry ( "DisableUserName", ConfigInit().m_faceBoxHideText ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_topBar_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_topBar_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_topBar_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_topBar_y ); + + tqlayoutconfig->setGroup ( "BottomBar" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_botBar_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_botBar_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_botBar_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_botBar_y ); + + tqlayoutconfig->setGroup ( "Scrollbars" ); + tqlayoutconfig->writeEntry ( "ScrollBarBotX", ConfigInit().m_scrollBarBotX ); + tqlayoutconfig->writeEntry ( "ScrollBarBotY", ConfigInit().m_scrollBarBotY ); + tqlayoutconfig->writeEntry ( "ScrollBarTopX", ConfigInit().m_scrollBarTopX ); + tqlayoutconfig->writeEntry ( "ScrollBarTopY", ConfigInit().m_scrollBarTopY ); + + tqlayoutconfig->setGroup ( "ListBox" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_listBox_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_listBox_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_listBox_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_listBox_y ); + + tqlayoutconfig->setGroup ( "SearchBox" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_searchBox_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_searchBox_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_searchBox_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_searchBox_y ); + tqlayoutconfig->writeEntry ( "FixedPos", ConfigInit().m_searchBox_static ); + + tqlayoutconfig->setGroup ( "ItemView" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_itemView_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_itemView_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_itemView_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_itemView_y ); + + tqlayoutconfig->setGroup ( "ToolBar" ); + tqlayoutconfig->writeEntry ( "ButtonNormalSize", ConfigInit().m_toolBarButtonNormalSize ); + tqlayoutconfig->writeEntry ( "ButtonPressedSize", ConfigInit().m_toolBarButtonExpandSize ); + + tqlayoutconfig->setGroup ( "MainMenu" ); + tqlayoutconfig->writeEntry ( "UserMenuHeight", ConfigInit().m_userMenuHeight ); + tqlayoutconfig->writeEntry ( "UserMenuWidth", ConfigInit().m_userMenuWidth ); + tqlayoutconfig->writeEntry ( "ContractedMenu", ConfigInit().m_startHidden ); + + tqlayoutconfig->setGroup ( "ItemProperties" ); + tqlayoutconfig->writeEntry ( "NoComments", ConfigInit().m_noComments ); + tqlayoutconfig->writeEntry ( "CommentMargin", ConfigInit().m_commentMargine ); + tqlayoutconfig->writeEntry ( "IconSize", ConfigInit().m_iconSize ); + + tqlayoutconfig->sync(); + + delete tqlayoutconfig; KMessageBox::information ( 0, tr2i18n ( "<p align='center'>The Layout configuration of the KBFX Theme <strong>%1</strong> has been exported successfully!</p>" ).arg ( ConfigInit().m_SpinxThemeName ), diff --git a/configdialog/kbfxconfigdlgmain.ui b/configdialog/kbfxconfigdlgmain.ui index c23db41..9dcf31c 100644 --- a/configdialog/kbfxconfigdlgmain.ui +++ b/configdialog/kbfxconfigdlgmain.ui @@ -1,13 +1,13 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgMain</class> -<widget class="QDialog"> +<widget class="TQDialog"> <property name="name"> <cstring>tb_Main</cstring> </property> <property name="enabled"> <bool>true</bool> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -42,15 +42,15 @@ <property name="resizeMode"> <enum>Minimum</enum> </property> - <widget class="QLayoutWidget" row="0" column="0"> + <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>layout4</cstring> + <cstring>tqlayout4</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QListBox"> + <widget class="TQListBox"> <item> <property name="text"> <string>Start Button</string> @@ -126,13 +126,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>150</width> <height>265</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>32767</height> @@ -160,13 +160,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>150</width> <height>280</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>32767</height> @@ -194,9 +194,9 @@ </widget> </vbox> </widget> - <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout12</cstring> + <cstring>tqlayout12</cstring> </property> <hbox> <property name="name"> @@ -205,7 +205,7 @@ <property name="margin"> <number>2</number> </property> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>btn_Help</cstring> </property> @@ -236,7 +236,7 @@ <string>Open Help Documentation</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>btn_Default</cstring> </property> @@ -277,14 +277,14 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>160</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>btn_SaveApply</cstring> </property> @@ -315,7 +315,7 @@ <string>Save the configuration and Apply it</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>btn_Exit</cstring> </property> @@ -348,17 +348,17 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget" row="0" column="1"> + <widget class="TQLayoutWidget" row="0" column="1"> <property name="name"> - <cstring>layout5</cstring> + <cstring>tqlayout5</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout3</cstring> + <cstring>tqlayout3</cstring> </property> <property name="sizePolicy"> <sizepolicy> @@ -378,7 +378,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QFrame"> + <widget class="TQFrame"> <property name="name"> <cstring>frame4</cstring> </property> @@ -390,13 +390,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>507</width> <height>100</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>100</height> @@ -436,7 +436,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>61</width> <height>25</height> @@ -453,7 +453,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> @@ -470,14 +470,14 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>56</width> <height>7</height> </size> </property> </spacer> - <widget class="QLabel" row="1" column="1"> + <widget class="TQLabel" row="1" column="1"> <property name="name"> <cstring>KbfxLogoText</cstring> </property> @@ -501,7 +501,7 @@ </widget> </grid> </widget> - <widget class="QFrame"> + <widget class="TQFrame"> <property name="name"> <cstring>frame3</cstring> </property> @@ -513,13 +513,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>114</width> <height>100</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>114</width> <height>100</height> @@ -537,7 +537,7 @@ </widget> </hbox> </widget> - <widget class="QWidgetStack"> + <widget class="TQWidgetStack"> <property name="name"> <cstring>ws_Main</cstring> </property> @@ -549,7 +549,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>32767</height> @@ -640,10 +640,10 @@ </tabstops> <includes> <include location="global" impldecl="in declaration">kdebug.h</include> - <include location="global" impldecl="in declaration">qstring.h</include> - <include location="global" impldecl="in declaration">qpainter.h</include> - <include location="global" impldecl="in declaration">qimage.h</include> - <include location="global" impldecl="in declaration">qpixmap.h</include> + <include location="global" impldecl="in declaration">tqstring.h</include> + <include location="global" impldecl="in declaration">tqpainter.h</include> + <include location="global" impldecl="in declaration">tqimage.h</include> + <include location="global" impldecl="in declaration">tqpixmap.h</include> <include location="global" impldecl="in declaration">kmessagebox.h</include> <include location="local" impldecl="in implementation">kbfxconfigdlgmain.ui.h</include> </includes> @@ -657,13 +657,13 @@ <variable access="public">QPixmap img_plugins;</variable> <variable access="public">QPixmap img_about;</variable> </variables> -<signals> +<Q_SIGNALS> <signal>KbfxConfigDlgButtonChanged(const char * name, const QString & path)</signal> -</signals> +</Q_SIGNALS> <functions> <function access="private" specifier="non virtual">init()</function> </functions> -<layoutdefaults spacing="10" margin="10"/> +<tqlayoutdefaults spacing="10" margin="10"/> <includehints> <includehint>kactivelabel.h</includehint> </includehints> diff --git a/configdialog/kbfxconfigdlgmain.ui.h b/configdialog/kbfxconfigdlgmain.ui.h index ee5fe64..5c1ed94 100644 --- a/configdialog/kbfxconfigdlgmain.ui.h +++ b/configdialog/kbfxconfigdlgmain.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). diff --git a/configdialog/kbfxconfigdlgplugins.ui b/configdialog/kbfxconfigdlgplugins.ui index 81db2aa..d187df0 100644 --- a/configdialog/kbfxconfigdlgplugins.ui +++ b/configdialog/kbfxconfigdlgplugins.ui @@ -1,10 +1,10 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgPlugins</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgPlugins</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -48,13 +48,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -80,7 +80,7 @@ <string><b><h3><p align="center">Plugins options</p></h3></b></string> </property> </widget> - <widget class="QGroupBox" row="2" column="0" rowspan="1" colspan="3"> + <widget class="TQGroupBox" row="2" column="0" rowspan="1" colspan="3"> <property name="name"> <cstring>KbfxSelectPanel</cstring> </property> @@ -114,7 +114,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>44</height> @@ -130,7 +130,7 @@ <string>Plugin to configure</string> </property> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel1</cstring> </property> @@ -142,7 +142,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>44</height> @@ -179,9 +179,9 @@ <enum>SmallIcon</enum> </property> </widget> - <widget class="QLayoutWidget" row="3" column="2"> + <widget class="TQLayoutWidget" row="3" column="2"> <property name="name"> - <cstring>layout3</cstring> + <cstring>tqlayout3</cstring> </property> <vbox> <property name="name"> @@ -197,14 +197,14 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxConfigurePluginButton</cstring> </property> @@ -232,7 +232,7 @@ <string>Configure the selected plugin</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxPluginInfoButton</cstring> </property> @@ -270,7 +270,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -289,7 +289,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -326,27 +326,27 @@ </connection> <connection> <sender>KbfxPluginSelector</sender> - <signal>movedDown(QListBoxItem*)</signal> + <signal>movedDown(TQListBoxItem*)</signal> <receiver>KbfxConfigDlgPlugins</receiver> - <slot>KbfxPluginSelector_movedDown(QListBoxItem*)</slot> + <slot>KbfxPluginSelector_movedDown(TQListBoxItem*)</slot> </connection> <connection> <sender>KbfxPluginSelector</sender> - <signal>movedUp(QListBoxItem*)</signal> + <signal>movedUp(TQListBoxItem*)</signal> <receiver>KbfxConfigDlgPlugins</receiver> - <slot>KbfxPluginSelector_movedUp(QListBoxItem*)</slot> + <slot>KbfxPluginSelector_movedUp(TQListBoxItem*)</slot> </connection> <connection> <sender>KbfxPluginSelector</sender> - <signal>removed(QListBoxItem*)</signal> + <signal>removed(TQListBoxItem*)</signal> <receiver>KbfxConfigDlgPlugins</receiver> - <slot>KbfxPluginSelector_removed(QListBoxItem*)</slot> + <slot>KbfxPluginSelector_removed(TQListBoxItem*)</slot> </connection> <connection> <sender>KbfxPluginSelector</sender> - <signal>added(QListBoxItem*)</signal> + <signal>added(TQListBoxItem*)</signal> <receiver>KbfxConfigDlgPlugins</receiver> - <slot>KbfxPluginSelector_added(QListBoxItem*)</slot> + <slot>KbfxPluginSelector_added(TQListBoxItem*)</slot> </connection> </connections> <tabstops> @@ -359,29 +359,29 @@ <include location="global" impldecl="in declaration">kbfxthemesdata.h</include> <include location="global" impldecl="in declaration">kbfxconfig.h</include> <include location="global" impldecl="in declaration">kdebug.h</include> - <include location="global" impldecl="in declaration">qstringlist.h</include> + <include location="global" impldecl="in declaration">tqstringlist.h</include> <include location="global" impldecl="in declaration">kstandarddirs.h</include> <include location="global" impldecl="in declaration">kmessagebox.h</include> - <include location="global" impldecl="in declaration">qlistbox.h</include> + <include location="global" impldecl="in declaration">tqlistbox.h</include> <include location="global" impldecl="in declaration">kbfxplasmapluginloader.h</include> <include location="local" impldecl="in implementation">kbfxconfigdlgplugins.ui.h</include> </includes> -<slots> +<Q_SLOTS> <slot>ChangeForm()</slot> <slot>KbfxConfigurePluginButton_clicked()</slot> <slot>KbfxPluginInfoButton_clicked()</slot> <slot>KbfxPanelSelected( int _sel )</slot> - <slot>KbfxPluginSelector_movedDown( QListBoxItem * )</slot> - <slot>KbfxPluginSelector_movedUp( QListBoxItem * )</slot> - <slot>KbfxPluginSelector_removed( QListBoxItem * )</slot> - <slot>KbfxPluginSelector_added( QListBoxItem * )</slot> -</slots> + <slot>KbfxPluginSelector_movedDown( TQListBoxItem * )</slot> + <slot>KbfxPluginSelector_movedUp( TQListBoxItem * )</slot> + <slot>KbfxPluginSelector_removed( TQListBoxItem * )</slot> + <slot>KbfxPluginSelector_added( TQListBoxItem * )</slot> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> - <function access="private" returnType="QStringList">KbfxListPlugins( int panel )</function> + <function access="private" returnType="TQStringList">KbfxListPlugins( int panel )</function> <function access="private">KbfxSaveSelectedPlugins()</function> </functions> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kactivelabel.h</includehint> <includehint>kcombobox.h</includehint> diff --git a/configdialog/kbfxconfigdlgplugins.ui.h b/configdialog/kbfxconfigdlgplugins.ui.h index 40153d9..176af80 100644 --- a/configdialog/kbfxconfigdlgplugins.ui.h +++ b/configdialog/kbfxconfigdlgplugins.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -25,16 +25,16 @@ void KbfxConfigDlgPlugins::ChangeForm() KbfxPluginSelector-> availableListBox()-> insertStringList ( KbfxListPlugins ( 0 ) ); // list Left Panel Plugins } -QStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) +TQStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) { - QStringList _plugins; + TQStringList _plugins; _plugins.clear(); bool _not_present; - QStringList::Iterator it_available; - QStringList::Iterator it_requested; + TQStringList::Iterator it_available; + TQStringList::Iterator it_requested; KbfxPlasmaPluginLoader *_tmp = new KbfxPlasmaPluginLoader(); - QStringList allPlugins = _tmp -> scanPlugins(); + TQStringList allPlugins = _tmp -> scanPlugins(); delete _tmp; for ( it_available = allPlugins.begin(); it_available != allPlugins.end(); ++it_available ) @@ -45,7 +45,7 @@ QStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) for ( it_requested = ConfigInit ().m_pluginsLeft.begin (); it_requested != ConfigInit ().m_pluginsLeft.end (); ++it_requested ) { - if ( ( *it_available ).contains ( *it_requested ) > 0 ) + if ( ( *it_available ).tqcontains ( *it_requested ) > 0 ) { _not_present = FALSE; break; @@ -57,7 +57,7 @@ QStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) for ( it_requested = ConfigInit ().m_pluginsRight.begin (); it_requested != ConfigInit ().m_pluginsRight.end (); ++it_requested ) { - if ( ( *it_available ).contains ( *it_requested ) > 0 ) + if ( ( *it_available ).tqcontains ( *it_requested ) > 0 ) { _not_present = FALSE; break; @@ -88,7 +88,7 @@ void KbfxConfigDlgPlugins::KbfxPluginInfoButton_clicked() void KbfxConfigDlgPlugins::KbfxSaveSelectedPlugins() { int _selectedPanel = KbfxPanel->currentItem(); - QStringList _plugins; + TQStringList _plugins; _plugins.clear(); int it; int _num = KbfxPluginSelector-> selectedListBox()->count(); @@ -129,28 +129,28 @@ void KbfxConfigDlgPlugins::KbfxPanelSelected ( int _sel ) -void KbfxConfigDlgPlugins::KbfxPluginSelector_movedDown ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_movedDown ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); } -void KbfxConfigDlgPlugins::KbfxPluginSelector_movedUp ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_movedUp ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); } -void KbfxConfigDlgPlugins::KbfxPluginSelector_removed ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_removed ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); } -void KbfxConfigDlgPlugins::KbfxPluginSelector_added ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_added ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); diff --git a/configdialog/kbfxconfigdlgstyle.ui b/configdialog/kbfxconfigdlgstyle.ui index df866a9..498c42b 100644 --- a/configdialog/kbfxconfigdlgstyle.ui +++ b/configdialog/kbfxconfigdlgstyle.ui @@ -1,10 +1,10 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgStyle</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgStyle</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -45,13 +45,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -77,7 +77,7 @@ <string><b><h3><p align="center">Menu type</p></h3></b></string> </property> </widget> - <widget class="QButtonGroup" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQButtonGroup" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>KbfxStyleGroupBox</cstring> </property> @@ -112,7 +112,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>53</width> <height>1</height> @@ -129,7 +129,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -146,14 +146,14 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>38</width> <height>1</height> </size> </property> </spacer> - <widget class="QRadioButton" row="0" column="1"> + <widget class="TQRadioButton" row="0" column="1"> <property name="name"> <cstring>KbfxRadioButtonKbfxStyle</cstring> </property> @@ -178,7 +178,7 @@ <number>0</number> </property> </widget> - <widget class="QRadioButton" row="0" column="3"> + <widget class="TQRadioButton" row="0" column="3"> <property name="name"> <cstring>KbfxRadioButtonKdeStyle</cstring> </property> @@ -202,7 +202,7 @@ </widget> </grid> </widget> - <widget class="QGroupBox" row="2" column="0"> + <widget class="TQGroupBox" row="2" column="0"> <property name="name"> <cstring>groupBox4</cstring> </property> @@ -230,7 +230,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel" row="1" column="1" rowspan="2" colspan="1"> + <widget class="TQLabel" row="1" column="1" rowspan="2" colspan="1"> <property name="name"> <cstring>pixmapLabel1</cstring> </property> @@ -242,13 +242,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>293</width> <height>334</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>293</width> <height>334</height> @@ -274,7 +274,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -291,7 +291,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -308,7 +308,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -325,7 +325,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -334,7 +334,7 @@ </spacer> </grid> </widget> - <widget class="QGroupBox" row="2" column="1"> + <widget class="TQGroupBox" row="2" column="1"> <property name="name"> <cstring>groupBox6</cstring> </property> @@ -362,7 +362,7 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLabel" row="1" column="1"> + <widget class="TQLabel" row="1" column="1"> <property name="name"> <cstring>pixmapLabel1_2</cstring> </property> @@ -374,13 +374,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>293</width> <height>334</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>293</width> <height>334</height> @@ -406,7 +406,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -423,7 +423,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -440,7 +440,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -457,7 +457,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -494,11 +494,11 @@ <include location="global" impldecl="in declaration">kdebug.h</include> <include location="local" impldecl="in implementation">kbfxconfigdlgstyle.ui.h</include> </includes> -<slots> +<Q_SLOTS> <slot>KbfxStyleSelected( int )</slot> <slot>ChangeForm()</slot> -</slots> -<layoutdefaults spacing="6" margin="0"/> +</Q_SLOTS> +<tqlayoutdefaults spacing="6" margin="0"/> <includehints> <includehint>kactivelabel.h</includehint> </includehints> diff --git a/configdialog/kbfxconfigdlgstyle.ui.h b/configdialog/kbfxconfigdlgstyle.ui.h index eb8001c..44e8325 100644 --- a/configdialog/kbfxconfigdlgstyle.ui.h +++ b/configdialog/kbfxconfigdlgstyle.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). diff --git a/configdialog/kbfxconfigdlgthemes.ui b/configdialog/kbfxconfigdlgthemes.ui index 9378b6a..d36e393 100644 --- a/configdialog/kbfxconfigdlgthemes.ui +++ b/configdialog/kbfxconfigdlgthemes.ui @@ -1,10 +1,10 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgThemes</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgThemes</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -36,7 +36,7 @@ <property name="resizeMode"> <enum>Minimum</enum> </property> - <widget class="QGroupBox" row="1" column="0"> + <widget class="TQGroupBox" row="1" column="0"> <property name="name"> <cstring>groupBox8</cstring> </property> @@ -77,7 +77,7 @@ <number>10</number> </property> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel1</cstring> </property> @@ -105,22 +105,22 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>28</width> <height>16</height> </size> </property> </spacer> - <widget class="QLayoutWidget" row="4" column="0"> + <widget class="TQLayoutWidget" row="4" column="0"> <property name="name"> - <cstring>layout7</cstring> + <cstring>tqlayout7</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QListBox"> + <widget class="TQListBox"> <item> <property name="text"> <string>SpixBar</string> @@ -137,7 +137,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>200</width> <height>0</height> @@ -153,15 +153,15 @@ <string>Here are listed all the installed KBFX Themes</string> </property> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout6</cstring> + <cstring>tqlayout6</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBox4</cstring> </property> @@ -179,7 +179,7 @@ <property name="title"> <string>Selected Theme Preview</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -196,7 +196,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>17</width> <height>21</height> @@ -213,7 +213,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -230,14 +230,14 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> </size> </property> </spacer> - <widget class="QLabel" row="1" column="1"> + <widget class="TQLabel" row="1" column="1"> <property name="name"> <cstring>KbfxPixmapPreview</cstring> </property> @@ -249,13 +249,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>270</width> <height>210</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>270</width> <height>210</height> @@ -267,7 +267,7 @@ <property name="scaledContents"> <bool>false</bool> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignCenter</set> </property> </widget> @@ -281,7 +281,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>17</width> <height>21</height> @@ -290,23 +290,23 @@ </spacer> </grid> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout14</cstring> + <cstring>tqlayout14</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout12</cstring> + <cstring>tqlayout12</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxDeleteTheme</cstring> </property> @@ -331,7 +331,7 @@ <string>Pressing the button will delete the currently selected theme. <br><b>Warning!</b> You cannot delete the installed system wide themes!</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxGetMoreThemes</cstring> </property> @@ -358,15 +358,15 @@ </widget> </vbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout13</cstring> + <cstring>tqlayout13</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxInstallTheme</cstring> </property> @@ -391,7 +391,7 @@ <string>Pressing the button will offer a dialog where you can choose KBFX Theme Package to install in your home folder</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxThemeInfoBtn</cstring> </property> @@ -422,15 +422,15 @@ </widget> </vbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout10</cstring> + <cstring>tqlayout10</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBox18</cstring> </property> @@ -462,14 +462,14 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>7</height> </size> </property> </spacer> - <widget class="QPushButton" row="5" column="1" rowspan="1" colspan="3"> + <widget class="TQPushButton" row="5" column="1" rowspan="1" colspan="3"> <property name="name"> <cstring>KbfxDeleteDudeImage</cstring> </property> @@ -494,7 +494,7 @@ <string>Pressing the button will delete the personal image you have selected and install the theme's default personal image</string> </property> </widget> - <widget class="QLabel" row="4" column="1" rowspan="1" colspan="3"> + <widget class="TQLabel" row="4" column="1" rowspan="1" colspan="3"> <property name="name"> <cstring>textLabel3</cstring> </property> @@ -509,11 +509,11 @@ <property name="text"> <string>Maxsize 48 x 48</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignCenter</set> </property> </widget> - <widget class="QPushButton" row="3" column="1" rowspan="1" colspan="3"> + <widget class="TQPushButton" row="3" column="1" rowspan="1" colspan="3"> <property name="name"> <cstring>KbfxSelectDudeImage</cstring> </property> @@ -548,7 +548,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>18</width> <height>54</height> @@ -565,14 +565,14 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>17</width> <height>62</height> </size> </property> </spacer> - <widget class="QFrame" row="2" column="2"> + <widget class="TQFrame" row="2" column="2"> <property name="name"> <cstring>frame7</cstring> </property> @@ -601,7 +601,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>KbfxDudeImage</cstring> </property> @@ -613,13 +613,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>48</width> <height>48</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>48</width> <height>48</height> @@ -644,7 +644,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> @@ -661,14 +661,14 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> </size> </property> </spacer> - <widget class="QLabel" row="0" column="0" rowspan="1" colspan="5"> + <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="5"> <property name="name"> <cstring>textLabel2</cstring> </property> @@ -683,7 +683,7 @@ <property name="text"> <string>This is your personal image displayed at the KBFX menu.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignCenter</set> </property> </widget> @@ -697,7 +697,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>10</height> @@ -706,7 +706,7 @@ </spacer> </grid> </widget> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>groupBox4_2</cstring> </property> @@ -724,7 +724,7 @@ <property name="title"> <string>Misc Options</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -741,14 +741,14 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> </size> </property> </spacer> - <widget class="QCheckBox" row="1" column="0"> + <widget class="TQCheckBox" row="1" column="0"> <property name="name"> <cstring>KbfxWatch</cstring> </property> @@ -770,7 +770,7 @@ <string>Watch for applications installs and reload KBFX if any occurs</string> </property> </widget> - <widget class="QCheckBox" row="0" column="0"> + <widget class="TQCheckBox" row="0" column="0"> <property name="name"> <cstring>KbfxShowOldThemes</cstring> </property> @@ -807,13 +807,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -854,13 +854,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -907,21 +907,21 @@ <connections> <connection> <sender>KbfxURLRequesterThemesPath</sender> - <signal>urlSelected(const QString&)</signal> + <signal>urlSelected(const TQString&)</signal> <receiver>KbfxConfigDlgThemes</receiver> - <slot>KbfxURLRequesterThemesPathUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterThemesPathUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxURLRequesterThemesPath</sender> - <signal>returnPressed(const QString&)</signal> + <signal>returnPressed(const TQString&)</signal> <receiver>KbfxConfigDlgThemes</receiver> - <slot>KbfxURLRequesterThemesPathUrlSelected(const QString&)</slot> + <slot>KbfxURLRequesterThemesPathUrlSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxThemeList</sender> - <signal>highlighted(const QString&)</signal> + <signal>highlighted(const TQString&)</signal> <receiver>KbfxConfigDlgThemes</receiver> - <slot>KbfxThemeSelected(const QString&)</slot> + <slot>KbfxThemeSelected(const TQString&)</slot> </connection> <connection> <sender>KbfxDeleteTheme</sender> @@ -981,7 +981,7 @@ <includes> <include location="global" impldecl="in declaration">kbfxconfig.h</include> <include location="global" impldecl="in declaration">kdebug.h</include> - <include location="global" impldecl="in declaration">qstringlist.h</include> + <include location="global" impldecl="in declaration">tqstringlist.h</include> <include location="global" impldecl="in declaration">kmessagebox.h</include> <include location="global" impldecl="in declaration">kio/netaccess.h</include> <include location="global" impldecl="in declaration">kfiledialog.h</include> @@ -996,32 +996,32 @@ </forwards> <variables> <variable access="private">bool KbfxFormReady;</variable> - <variable access="private">QString KbfxInstallDialogURL;</variable> - <variable access="public">QStringList KbfxThemes;</variable> + <variable access="private">TQString KbfxInstallDialogURL;</variable> + <variable access="public">TQStringList KbfxThemes;</variable> <variable access="public">QPixmap img_nopreview;</variable> <variable>static KbfxThemeInfo * _info_box;</variable> </variables> -<signals> - <signal>KbfxThemeDoInstall( QString & installUrl )</signal> -</signals> -<slots> - <slot>KbfxURLRequesterThemesPathUrlSelected( const QString & path )</slot> - <slot>KbfxThemeSelected( const QString & name )</slot> +<Q_SIGNALS> + <signal>KbfxThemeDoInstall( TQString & installUrl )</signal> +</Q_SIGNALS> +<Q_SLOTS> + <slot>KbfxURLRequesterThemesPathUrlSelected( const TQString & path )</slot> + <slot>KbfxThemeSelected( const TQString & name )</slot> <slot>setKbfxThemePreview()</slot> <slot>ChangeForm()</slot> <slot>KbfxDeleteThemeClicked()</slot> <slot>KbfxInstallThemeClicked()</slot> - <slot>KbfxThemeInstall( QString & installUrl )</slot> + <slot>KbfxThemeInstall( TQString & installUrl )</slot> <slot>KbfxSelectDudeImageClicked()</slot> <slot>KbfxDeleteDudeImageClicked()</slot> <slot>KbfxThemeInfoClicked()</slot> <slot>KbfxShowOldThemes_toggled( bool )</slot> <slot>KbfxWatch_toggled( bool )</slot> -</slots> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> </functions> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kurlrequester.h</includehint> <includehint>klineedit.h</includehint> diff --git a/configdialog/kbfxconfigdlgthemes.ui.h b/configdialog/kbfxconfigdlgthemes.ui.h index fe28790..7689989 100644 --- a/configdialog/kbfxconfigdlgthemes.ui.h +++ b/configdialog/kbfxconfigdlgthemes.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -17,8 +17,8 @@ void KbfxConfigDlgThemes::init() KbfxFormReady = FALSE; img_nopreview = image0; - connect ( this, SIGNAL ( KbfxThemeDoInstall ( QString & ) ), - this, SLOT ( KbfxThemeInstall ( QString & ) ) ); + connect ( this, TQT_SIGNAL ( KbfxThemeDoInstall ( TQString & ) ), + this, TQT_SLOT ( KbfxThemeInstall ( TQString & ) ) ); } /* @@ -27,14 +27,14 @@ void KbfxConfigDlgThemes::KbfxDudeAnimationButtonToggled(bool) if(KbfxAnimationButton->state() == 2) { KbfxAnimationButton->setText(tr2i18n("Animation is ON")); - KbfxAnimationButton->setPaletteBackgroundColor(QColor(0,255,0)); + KbfxAnimationButton->setPaletteBackgroundColor(TQColor(0,255,0)); ConfigInit().m_SpinxDudeBlink = TRUE; } if(KbfxAnimationButton->state() == 0) { KbfxAnimationButton->setText(tr2i18n("Animation is OFF")); - KbfxAnimationButton->setPaletteBackgroundColor(QColor(221,223,228)); + KbfxAnimationButton->setPaletteBackgroundColor(TQColor(221,223,228)); ConfigInit().m_SpinxDudeBlink = FALSE; } @@ -44,15 +44,15 @@ void KbfxConfigDlgThemes::KbfxDudeAnimationButtonToggled(bool) } */ -void KbfxConfigDlgThemes::KbfxURLRequesterThemesPathUrlSelected ( const QString &path ) +void KbfxConfigDlgThemes::KbfxURLRequesterThemesPathUrlSelected ( const TQString &path ) { - QString tmppath = path; + TQString tmppath = path; if ( tmppath.startsWith ( "file://" ) ) tmppath.remove ( "file://" ); if ( !tmppath.endsWith ( "/" ) ) tmppath.append ( "/" ); - QDir d ( tmppath ); - d.setFilter ( QDir::Dirs ); + TQDir d ( tmppath ); + d.setFilter ( TQDir::Dirs ); if ( !d.exists() ) { kdDebug() << "Themes folder does not exist: " << tmppath << endl; @@ -78,7 +78,7 @@ void KbfxConfigDlgThemes::KbfxURLRequesterThemesPathUrlSelected ( const QString setKbfxThemePreview(); } -void KbfxConfigDlgThemes::KbfxThemeSelected ( const QString &name ) +void KbfxConfigDlgThemes::KbfxThemeSelected ( const TQString &name ) { if (KbfxFormReady) { @@ -102,16 +102,16 @@ void KbfxConfigDlgThemes::KbfxThemeSelected ( const QString &name ) void KbfxConfigDlgThemes::setKbfxThemePreview() { - QString path = ConfigInit().m_SpinxThemeBasePath + ConfigInit().m_SpinxThemeName + "/preview.png"; + TQString path = ConfigInit().m_SpinxThemeBasePath + ConfigInit().m_SpinxThemeName + "/preview.png"; - QImage tmp ( path ); + TQImage tmp ( path ); if ( tmp.isNull() ) { kdDebug() << "No preview available for theme: " << ConfigInit().m_SpinxThemeBasePath + ConfigInit().m_SpinxThemeName << endl; - // QString default_path = locate("data", "kbfx/images/nopreview.png"); + // TQString default_path = locate("data", "kbfx/images/nopreview.png"); KbfxPixmapPreview->setPixmap ( img_nopreview ); } else @@ -132,7 +132,7 @@ void KbfxConfigDlgThemes::ChangeForm() << KbfxThemesData().setThemeList ( ConfigInit().m_UserSpinxThemeBasePath ) [ConfigInit().m_SpinxThemeName] << endl; - KbfxThemeList->setSelected ( KbfxThemeList->findItem ( ConfigInit().m_SpinxThemeName ), TRUE ); + KbfxThemeList->setSelected ( KbfxThemeList->tqfindItem ( ConfigInit().m_SpinxThemeName ), TRUE ); setKbfxThemePreview(); @@ -163,7 +163,7 @@ void KbfxConfigDlgThemes::KbfxDeleteThemeClicked() { int messageBoxReturn; int messageBoxUserResReturn; - QString KbfxThemeRcDestination = KGlobal::dirs()->saveLocation ( "data", QString ( "kbfx/themerc/" ), TRUE ); + TQString KbfxThemeRcDestination = KGlobal::dirs()->saveLocation ( "data", TQString ( "kbfx/themerc/" ), TRUE ); KbfxThemeRcDestination.append( ConfigInit().m_SpinxThemeName ); messageBoxReturn = KMessageBox::warningContinueCancel ( 0, @@ -181,18 +181,18 @@ void KbfxConfigDlgThemes::KbfxDeleteThemeClicked() if ( messageBoxUserResReturn == KMessageBox::No ) { - if ( QFile::exists ( KbfxThemeRcDestination + "_fontrc" ) ) + if ( TQFile::exists ( KbfxThemeRcDestination + "_fontrc" ) ) { - QFile::remove ( KbfxThemeRcDestination + "_fontrc" ); + TQFile::remove ( KbfxThemeRcDestination + "_fontrc" ); kdDebug() << "Deleting user's fontrc file: " << KbfxThemeRcDestination + "_fontrc" << endl; } - if ( QFile::exists ( KbfxThemeRcDestination + "_layoutrc" ) ) + if ( TQFile::exists ( KbfxThemeRcDestination + "_layoutrc" ) ) { - QFile::remove ( KbfxThemeRcDestination + "_layoutrc" ); - kdDebug() << "Deleting user's layoutrc file: " + TQFile::remove ( KbfxThemeRcDestination + "_layoutrc" ); + kdDebug() << "Deleting user's tqlayoutrc file: " << KbfxThemeRcDestination + "_layoutrc" << endl; } @@ -219,7 +219,7 @@ void KbfxConfigDlgThemes::KbfxDeleteThemeClicked() void KbfxConfigDlgThemes::KbfxInstallThemeClicked() { - KFileDialog KbfxInstallDialog ( QString::null, + KFileDialog KbfxInstallDialog ( TQString(), "*.tar *.tar.bz2 *.tar.gz *.kbfxtheme|" + tr2i18n ( "KBFX theme packages (*.tar, *.tar.bz2, *.tar.gz, *.kbfxtheme)" ), 0, 0, @@ -234,7 +234,7 @@ void KbfxConfigDlgThemes::KbfxInstallThemeClicked() emit KbfxThemeDoInstall ( KbfxInstallDialogURL ); } -void KbfxConfigDlgThemes::KbfxThemeInstall ( QString &installUrl ) +void KbfxConfigDlgThemes::KbfxThemeInstall ( TQString &installUrl ) { KTar KbfxThemeArchive ( installUrl ); @@ -247,8 +247,8 @@ void KbfxConfigDlgThemes::KbfxThemeInstall ( QString &installUrl ) return; } - const QString KbfxThemeDestination = KGlobal::dirs()->saveLocation ( "data", - QString ( "kbfx/skins/" ), + const TQString KbfxThemeDestination = KGlobal::dirs()->saveLocation ( "data", + TQString ( "kbfx/skins/" ), TRUE ); kdDebug() << "Copying theme: " << KbfxThemeDestination << endl; @@ -261,7 +261,7 @@ void KbfxConfigDlgThemes::KbfxThemeInstall ( QString &installUrl ) void KbfxConfigDlgThemes::KbfxSelectDudeImageClicked() { - KFileDialog KbfxDudeImageDialog ( QString::null, + KFileDialog KbfxDudeImageDialog ( TQString(), "image/jpeg image/png image/x-xpm image/gif ", 0, 0, @@ -274,7 +274,7 @@ void KbfxConfigDlgThemes::KbfxSelectDudeImageClicked() ConfigInit().m_SpinxDudeImage = KbfxDudeImageDialog.selectedURL().path(); - QImage tmp ( ConfigInit().m_SpinxDudeImage ); + TQImage tmp ( ConfigInit().m_SpinxDudeImage ); if ( tmp.isNull() ) { KMessageBox::error ( 0, @@ -295,8 +295,8 @@ void KbfxConfigDlgThemes::KbfxSelectDudeImageClicked() void KbfxConfigDlgThemes::KbfxDeleteDudeImageClicked() { - QString tmp_dude = ConfigInit().m_SpinxThemeBasePath + ConfigInit().m_SpinxThemeName + "/menu_top_image_person.png"; - QFile tmp ( tmp_dude ); + TQString tmp_dude = ConfigInit().m_SpinxThemeBasePath + ConfigInit().m_SpinxThemeName + "/menu_top_image_person.png"; + TQFile tmp ( tmp_dude ); if ( tmp.exists() ) { ConfigInit().m_SpinxDudeImage = tmp_dude; @@ -312,10 +312,10 @@ void KbfxConfigDlgThemes::KbfxDeleteDudeImageClicked() void KbfxConfigDlgThemes::KbfxThemeInfoClicked() { - QPixmap _logo = QPixmap (ConfigInit ().m_SpinxThemeBasePath + ConfigInit ().m_SpinxThemeName + "/logo.png"); + TQPixmap _logo = TQPixmap (ConfigInit ().m_SpinxThemeBasePath + ConfigInit ().m_SpinxThemeName + "/logo.png"); ConfigInit().readThemeInfo ( ConfigInit().m_SpinxThemeBasePath, ConfigInit().m_SpinxThemeName ); - _info_box = new KbfxThemeInfo (this,"infodlg",Qt::WType_Modal); + _info_box = new KbfxThemeInfo (this,"infodlg",TQt::WType_Modal); if ( !_logo.isNull() ) { diff --git a/configdialog/kbfxconfigdlgtooltip.ui b/configdialog/kbfxconfigdlgtooltip.ui index 97d5218..b58a88d 100644 --- a/configdialog/kbfxconfigdlgtooltip.ui +++ b/configdialog/kbfxconfigdlgtooltip.ui @@ -1,13 +1,13 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxConfigDlgTooltip</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxConfigDlgTooltip</cstring> </property> <property name="enabled"> <bool>true</bool> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -48,13 +48,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -80,7 +80,7 @@ <string><b><h3><p align="center">Tooltip ON or OFF</p></h3></b></string> </property> </widget> - <widget class="QGroupBox" row="1" column="0"> + <widget class="TQGroupBox" row="1" column="0"> <property name="name"> <cstring>groupBox24</cstring> </property> @@ -98,7 +98,7 @@ <property name="title"> <string>Turn off or on the tooltip</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -108,17 +108,17 @@ <property name="margin"> <number>10</number> </property> - <widget class="QLayoutWidget" row="0" column="0"> + <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>layout21</cstring> + <cstring>tqlayout21</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout6</cstring> + <cstring>tqlayout6</cstring> </property> <vbox> <property name="name"> @@ -140,9 +140,9 @@ <string>Turn your tooltip off or on. <br>You can see the current status of the tooltip to the right.</string> </property> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout4</cstring> + <cstring>tqlayout4</cstring> </property> <hbox> <property name="name"> @@ -158,14 +158,14 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>24</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxTooltipOnButton</cstring> </property> @@ -200,7 +200,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -211,7 +211,7 @@ </widget> </vbox> </widget> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>KbfxTooltipOnPixmapLabel</cstring> </property> @@ -223,13 +223,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>120</width> <height>80</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>120</width> <height>80</height> @@ -249,7 +249,7 @@ </widget> </grid> </widget> - <widget class="QGroupBox" row="7" column="0"> + <widget class="TQGroupBox" row="7" column="0"> <property name="name"> <cstring>groupBox3</cstring> </property> @@ -267,7 +267,7 @@ <property name="title"> <string>Tooltip Text</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -277,9 +277,9 @@ <property name="margin"> <number>10</number> </property> - <widget class="QLayoutWidget" row="0" column="1"> + <widget class="TQLayoutWidget" row="0" column="1"> <property name="name"> - <cstring>layout19</cstring> + <cstring>tqlayout19</cstring> </property> <vbox> <property name="name"> @@ -311,7 +311,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>19</height> @@ -332,13 +332,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>100</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>100</height> @@ -374,13 +374,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -406,7 +406,7 @@ <string><b><h3><p align="center">Tooltip personal text</p></h3></b></string> </property> </widget> - <widget class="QGroupBox" row="4" column="0"> + <widget class="TQGroupBox" row="4" column="0"> <property name="name"> <cstring>groupBox26</cstring> </property> @@ -424,7 +424,7 @@ <property name="title"> <string>Tooltip animation</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> <grid> @@ -437,17 +437,17 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLayoutWidget" row="0" column="0"> + <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>layout20</cstring> + <cstring>tqlayout20</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout9</cstring> + <cstring>tqlayout9</cstring> </property> <vbox> <property name="name"> @@ -469,9 +469,9 @@ <string>Turn your tooltip animation off or on. <br>You can see the current status of the tooltip to the right.</string> </property> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout8</cstring> + <cstring>tqlayout8</cstring> </property> <hbox> <property name="name"> @@ -487,14 +487,14 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>26</width> <height>1</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxTooltipAnimationButton</cstring> </property> @@ -526,7 +526,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -537,7 +537,7 @@ </widget> </vbox> </widget> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>KbfxTooltipAnimationPixmapLabel</cstring> </property> @@ -549,13 +549,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>120</width> <height>80</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>120</width> <height>80</height> @@ -585,7 +585,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -604,13 +604,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>29</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>29</height> @@ -646,7 +646,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>1</width> <height>1</height> @@ -697,16 +697,16 @@ <variable access="public">QPixmap img_on;</variable> <variable access="public">QPixmap img_off;</variable> </variables> -<slots> +<Q_SLOTS> <slot>KbfxTooltipAnimationButtonToggled( bool )</slot> <slot>KbfxTooltipTextEditTextChanged()</slot> <slot>KbfxTooltipOnButtonToggled( bool )</slot> <slot>ChangeForm()</slot> -</slots> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> </functions> -<layoutdefaults spacing="6" margin="0"/> +<tqlayoutdefaults spacing="6" margin="0"/> <includehints> <includehint>kactivelabel.h</includehint> <includehint>kactivelabel.h</includehint> diff --git a/configdialog/kbfxconfigdlgtooltip.ui.h b/configdialog/kbfxconfigdlgtooltip.ui.h index 196c2d9..4f55e80 100644 --- a/configdialog/kbfxconfigdlgtooltip.ui.h +++ b/configdialog/kbfxconfigdlgtooltip.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). diff --git a/configdialog/kbfxthemeinfo.ui b/configdialog/kbfxthemeinfo.ui index 69cd3e8..cf4b818 100644 --- a/configdialog/kbfxthemeinfo.ui +++ b/configdialog/kbfxthemeinfo.ui @@ -1,10 +1,10 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KbfxThemeInfo</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KbfxThemeInfo</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -42,9 +42,9 @@ <property name="resizeMode"> <enum>Minimum</enum> </property> - <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="3"> + <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="3"> <property name="name"> - <cstring>layout10</cstring> + <cstring>tqlayout10</cstring> </property> <hbox> <property name="name"> @@ -63,14 +63,14 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>54</width> <height>6</height> </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>KbfxOk</cstring> </property> @@ -99,7 +99,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>54</width> <height>6</height> @@ -118,7 +118,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> @@ -135,16 +135,16 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> </size> </property> </spacer> - <widget class="QLayoutWidget" row="1" column="1"> + <widget class="TQLayoutWidget" row="1" column="1"> <property name="name"> - <cstring>layout7</cstring> + <cstring>tqlayout7</cstring> </property> <hbox> <property name="name"> @@ -156,9 +156,9 @@ <property name="spacing"> <number>0</number> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout11</cstring> + <cstring>tqlayout11</cstring> </property> <vbox> <property name="name"> @@ -174,14 +174,14 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>10</width> <height>49</height> </size> </property> </spacer> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>KbfxThemeLogo</cstring> </property> @@ -193,13 +193,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>100</width> <height>100</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>100</width> <height>100</height> @@ -211,7 +211,7 @@ <property name="scaledContents"> <bool>true</bool> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignCenter</set> </property> </widget> @@ -225,7 +225,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>10</width> <height>49</height> @@ -244,16 +244,16 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> </size> </property> </spacer> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout21</cstring> + <cstring>tqlayout21</cstring> </property> <hbox> <property name="name"> @@ -262,9 +262,9 @@ <property name="spacing"> <number>15</number> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout19</cstring> + <cstring>tqlayout19</cstring> </property> <vbox> <property name="name"> @@ -352,9 +352,9 @@ </widget> </vbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout20</cstring> + <cstring>tqlayout20</cstring> </property> <vbox> <property name="name"> @@ -534,7 +534,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> @@ -551,7 +551,7 @@ <property name="sizeType"> <enum>MinimumExpanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>16</width> <height>16</height> @@ -581,13 +581,13 @@ <includes> <include location="local" impldecl="in implementation">kbfxthemeinfo.ui.h</include> </includes> -<slots> +<Q_SLOTS> <slot>hideSpacer()</slot> -</slots> +</Q_SLOTS> <functions> <function access="private" specifier="non virtual">init()</function> </functions> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kactivelabel.h</includehint> <includehint>kactivelabel.h</includehint> diff --git a/configdialog/kbfxthemeinfo.ui.h b/configdialog/kbfxthemeinfo.ui.h index e67a134..cd74ec3 100644 --- a/configdialog/kbfxthemeinfo.ui.h +++ b/configdialog/kbfxthemeinfo.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). diff --git a/configdialog/main.cpp b/configdialog/main.cpp index fe5e508..09de452 100644 --- a/configdialog/main.cpp +++ b/configdialog/main.cpp @@ -58,11 +58,11 @@ class KbfxConfigApplication : public KUniqueApplication /* prepare kbfx theme cmdline option given */ if ( KbfxArgs->isSet ( "prepare" ) ) { - QString m_KbfxThemeFolderUrl = KbfxArgs->getOption ( "prepare" ); + TQString m_KbfxThemeFolderUrl = KbfxArgs->getOption ( "prepare" ); if ( m_KbfxThemeFolderUrl.endsWith ( "/" ) ) m_KbfxThemeFolderUrl.truncate ( m_KbfxThemeFolderUrl.length()-1 ); - QString theme_name = m_KbfxThemeFolderUrl.section ( '/', -1 ); - QString archive_dir = m_KbfxThemeFolderUrl.section ( '/', 0, -2 ); - QString archive_name = archive_dir+"/"+ theme_name+".kbfxtheme"; + TQString theme_name = m_KbfxThemeFolderUrl.section ( '/', -1 ); + TQString archive_dir = m_KbfxThemeFolderUrl.section ( '/', 0, -2 ); + TQString archive_name = archive_dir+"/"+ theme_name+".kbfxtheme"; kdDebug() << "Prepare option arguments: " << theme_name << endl @@ -95,14 +95,14 @@ class KbfxConfigApplication : public KUniqueApplication } kdDebug() << "KBFX theme prepared. Quitting..." << endl; - QTimer::singleShot ( 100, mainWin, SLOT ( deleteLater() ) ); + TQTimer::singleShot ( 100, mainWin, TQT_SLOT ( deleteLater() ) ); } else { /* install kbfx theme cmdline option given */ if ( KbfxArgs->isSet ( "install" ) ) { - QString m_KbfxThemeUrl = KbfxArgs->getOption ( "install" ); + TQString m_KbfxThemeUrl = KbfxArgs->getOption ( "install" ); kdDebug() << "Install option argument: " << m_KbfxThemeUrl << endl; |