Signal/slot repairs

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 8155225c9b
commit 0406f543f8

@ -1607,9 +1607,9 @@ Please note that on slow machines this may cause a "lag" between the event causi
<include location="local" impldecl="in implementation">accessibilityconfigwidget.ui.h</include>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="private" specifier="non virtual">updateFlashScreenColor()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -22,9 +22,10 @@
#ifndef dtime_included
#define dtime_included
#include <tqdatetime.h>
#include <tqlineedit.h>
#include <tqspinbox.h>
#include <tqapplication.h>
#include <tqdatetime.h>
#include <tqlineedit.h>
#include <tqspinbox.h>
#include <tqstring.h>
#include <tqtimer.h>
#include <tqvalidator.h>

@ -9,6 +9,7 @@
#define __WIDGETCANVAS_H__
#include <tqmap.h>
#undef None // Qt4
#include <kapplication.h>
#define MAX_HOTSPOTS 28

@ -166,9 +166,9 @@
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="protected">selectBrowser()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>

@ -228,9 +228,9 @@
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="protected">selectEmailClient()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>

@ -186,9 +186,9 @@
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="protected">selectTerminalApp()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>

@ -312,9 +312,9 @@ is configured with 'Browse local network' option above.</string>
</widget>
</grid>
</widget>
<slots>
<Q_SLOTS>
<slot>radioButton2_2_toggled(bool)</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in declaration">kcmodule.h</include>
</includes>

@ -191,9 +191,9 @@
<includes>
<include location="local" impldecl="in implementation">ICCConfigBase.ui.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot>enableSupport_toggled(bool)</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>

@ -19,6 +19,7 @@
#ifndef ICONTHEMES_H
#define ICONTHEMES_H
#include <tqimage.h>
#include <kcmodule.h>
#include <tqmap.h>
#include <klistview.h>

@ -24,7 +24,7 @@
class PreviewCursor;
class PreviewWidget : public QWidget
class PreviewWidget : public TQWidget
{
public:
PreviewWidget( TQWidget *parent = NULL, const char *name = NULL );

@ -170,9 +170,9 @@ void ThemePage::load( bool useDefaults )
currentTheme = "system";
// Find the theme in the listview and select it
TQListViewItem *item = listview->findItem( currentTheme, DirColumn );
TQListViewItem *item = listview->tqfindItem( currentTheme, DirColumn );
if( !item )
item = listview->findItem( "system", DirColumn );
item = listview->tqfindItem( "system", DirColumn );
selectedTheme = item->text( DirColumn );
listview->setSelected( item, true );
listview->ensureItemVisible( item );
@ -260,7 +260,7 @@ void ThemePage::removeClicked()
KIO::del( u );
// Remove the theme from the listview and from the themeinfo dict
delete listview->findItem( selectedTheme, DirColumn );
delete listview->tqfindItem( selectedTheme, DirColumn );
themeInfo.remove( selectedTheme );
listview->setSelected( listview->currentItem(), true );
@ -371,7 +371,7 @@ void ThemePage::insertTheme( const TQString &path )
info->writable = true;
// If an item with the same name already exists, remove it
delete listview->findItem( dirName, DirColumn );
delete listview->tqfindItem( dirName, DirColumn );
// Create the listview item and insert it into the list.
KListViewItem *item = new KListViewItem( listview, name, desc, /*hidden*/ dirName );
@ -471,7 +471,7 @@ void ThemePage::insertThemes()
// in the list. Xcursor will use the first theme it finds in that
// case, and since we use the same search order that should also be
// the theme we end up adding to the list.
if ( listview->findItem( *it, DirColumn ) )
if ( listview->tqfindItem( *it, DirColumn ) )
continue;
const TQString path = dir.path() + '/' + *it;
@ -621,7 +621,7 @@ TQPixmap ThemePage::createIcon( const TQString &theme, const TQString &sample )
// Scale down the image if we need to
if ( image.width() > iconSize || image.height() > iconSize )
image = image.smoothScale( iconSize, iconSize, TQImage::ScaleMin );
image = image.smoothScale( iconSize, iconSize, TQ_ScaleMin );
pix.convertFromImage( image );
XcursorImageDestroy( xcur );

@ -32,7 +32,7 @@ class TQPushButton;
struct ThemeInfo;
class ThemePage : public QWidget
class ThemePage : public TQWidget
{
Q_OBJECT

@ -34,6 +34,7 @@
#include "KfiPrint.h"
#include "FcEngine.h"
#endif
#include <tqapplication.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqpainter.h>

@ -750,9 +750,9 @@
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot specifier="pure virtual">switchPanel(int)</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -558,7 +558,7 @@ This option is only active if 'Enable background image' is selected.</string>
<connections>
<connection>
<sender>kcfg_BackgroundTheme</sender>
<signal>urlSelected(const QString&amp;)</signal>
<signal>urlSelected(const TQString&amp;)</signal>
<receiver>LookAndFeelTabBase</receiver>
<slot>browseTheme(const QString&amp;)</slot>
</connection>
@ -570,7 +570,7 @@ This option is only active if 'Enable background image' is selected.</string>
</connection>
<connection>
<sender>kcfg_BackgroundTheme</sender>
<signal>returnPressed(const QString&amp;)</signal>
<signal>returnPressed(const TQString&amp;)</signal>
<receiver>LookAndFeelTabBase</receiver>
<slot>browseTheme(const QString&amp;)</slot>
</connection>
@ -621,11 +621,11 @@ This option is only active if 'Enable background image' is selected.</string>
<include location="global" impldecl="in declaration">kurlrequester.h</include>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">launchAdvancedDialog()</slot>
<slot access="protected" specifier="pure virtual">browseTheme(const QString&amp;)</slot>
<slot access="protected" specifier="pure virtual">browseTheme(const TQString&amp;)</slot>
<slot access="protected" specifier="pure virtual">enableTransparency(bool)</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -1112,12 +1112,12 @@ how it is positioned on the screen and how much of the screen it should use.</st
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">lengthenPanel( int )</slot>
<slot access="protected" specifier="pure virtual">movePanel( int )</slot>
<slot access="protected" specifier="pure virtual">panelDimensionsChanged()</slot>
<slot specifier="pure virtual">switchPanel( int )</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -25,6 +25,7 @@
#ifndef KCMLOCALE_H
#define KCMLOCALE_H
#include <tqapplication.h>
#include <tqwidget.h>
#include <tqstringlist.h>

@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <tqapplication.h>
#include <tqbuttongroup.h>
#include <tqcheckbox.h>
#include <tqdesktopwidget.h>

@ -29,6 +29,7 @@
#include <tqpushbutton.h>
#include <tqlistview.h>
#include <tqevent.h>
#include <tqapplication.h>
#include <kconfig.h>
#include <kurlrequester.h>

@ -297,11 +297,11 @@
<includes>
<include location="local" impldecl="in implementation">smartcardbase.ui.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot>slotTestReader()</slot>
<slot>enableSupport_toggled(bool)</slot>
<slot>enablePolling_toggled(bool)</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>

@ -240,9 +240,9 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot>configChanged()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>

@ -98,9 +98,9 @@
</widget>
</vbox>
</widget>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">action_group_name_changed( const QString&amp; )</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>ktextedit.h</includehint>

@ -157,12 +157,12 @@
<forwards>
<forward>class QListViewItem;</forward>
</forwards>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">copy_pressed()</slot>
<slot access="protected" specifier="pure virtual">current_changed(QListViewItem*)</slot>
<slot access="protected" specifier="pure virtual">delete_pressed()</slot>
<slot access="protected" specifier="pure virtual">modify_pressed()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -50,9 +50,9 @@
</widget>
</vbox>
</widget>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">browse_pressed()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -156,12 +156,12 @@
<forwards>
<forward>class QListViewItem;</forward>
</forwards>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">copy_pressed()</slot>
<slot access="protected" specifier="pure virtual">current_changed(QListViewItem*)</slot>
<slot access="protected" specifier="pure virtual">delete_pressed()</slot>
<slot access="protected" specifier="pure virtual">modify_pressed()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -261,10 +261,10 @@
<tabstop>try_button</tabstop>
<tabstop>PushButton1</tabstop>
</tabstops>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">run_kdcop_pressed()</slot>
<slot access="protected" specifier="pure virtual">try_pressed()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -106,9 +106,9 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">import_clicked()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -133,10 +133,10 @@
</widget>
</vbox>
</widget>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">action_name_changed( const QString&amp; )</slot>
<slot access="protected" specifier="pure virtual">action_type_changed(int)</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -506,11 +506,11 @@
<slot>edit_gesture_pressed3()</slot>
</connection>
</connections>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">edit_gesture_pressed1()</slot>
<slot access="protected" specifier="pure virtual">edit_gesture_pressed2()</slot>
<slot access="protected" specifier="pure virtual">edit_gesture_pressed3()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -182,9 +182,9 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">modify_pressed()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -89,9 +89,9 @@
<slot>browse_pressed()</slot>
</connection>
</connections>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">browse_pressed()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -157,12 +157,12 @@
<forwards>
<forward>class QListViewItem;</forward>
</forwards>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">copy_pressed()</slot>
<slot access="protected" specifier="pure virtual">current_changed(QListViewItem*)</slot>
<slot access="protected" specifier="pure virtual">delete_pressed()</slot>
<slot access="protected" specifier="pure virtual">modify_pressed()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -90,11 +90,11 @@
<slot>slotPlayPressed()</slot>
</connection>
</connections>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">slotRecordPressed()</slot>
<slot access="protected" specifier="pure virtual">slotPlayPressed()</slot>
<slot access="protected" specifier="pure virtual">slotStopPressed()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kpushbutton.h</includehint>

@ -156,12 +156,12 @@
<forwards>
<forward>class QListViewItem;</forward>
</forwards>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">copy_pressed()</slot>
<slot access="protected" specifier="pure virtual">current_changed(QListViewItem*)</slot>
<slot access="protected" specifier="pure virtual">delete_pressed()</slot>
<slot access="protected" specifier="pure virtual">modify_pressed()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -480,11 +480,11 @@
<tabstop>window_role_lineedit</tabstop>
<tabstop>autodetect_button</tabstop>
</tabstops>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">window_class_combo_changed(int)</slot>
<slot access="protected" specifier="pure virtual">window_role_combo_changed(int)</slot>
<slot access="protected" specifier="pure virtual">window_title_combo_changed(int)</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>

@ -292,9 +292,9 @@
<include location="local" impldecl="in implementation">kfontrequester.h</include>
<include location="local" impldecl="in implementation">digital.ui.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot>kcfg_DigitalLCDStyle_stateChanged( int )</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -495,12 +495,13 @@
<tabstop>tzListView</tabstop>
</tabstops>
<includes>
<include location="local" impldecl="in implementation">tqheader.h</include>
<include location="local" impldecl="in implementation">kdialog.h</include>
<include location="local" impldecl="in implementation">kfontrequester.h</include>
</includes>
<slots>
<Q_SLOTS>
<slot>configureType()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="3" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

@ -88,7 +88,7 @@ int main( int argc, char **argv )
KConfig conf( "kasbarrc" );
if ( args->isSet("test") ) {
kasbar = new KasBar( Qt::Vertical, 0, "testkas", (TQt::WFlags)wflags );
kasbar = new KasBar( Qt::Vertical, 0, "testkas", (TQ_WFlags)wflags );
kasbar->setItemSize( KasBar::Large );
kasbar->append( new KasClockItem(kasbar) );
kasbar->append( new KasItem(kasbar) );
@ -97,7 +97,7 @@ int main( int argc, char **argv )
kasbar->addTestItems();
}
else {
KasTasker *kastasker = new KasTasker( Qt::Vertical, 0, "testkas", (TQt::WFlags)wflags );
KasTasker *kastasker = new KasTasker( Qt::Vertical, 0, "testkas", (TQ_WFlags)wflags );
kastasker->setConfig( &conf );
kastasker->setStandAlone( true );
kasbar = kastasker;

@ -64,6 +64,7 @@ class KasPopup;
#include <tqguardedptr.h>
#include <tqpoint.h>
#include <tqvaluevector.h>
#include <tqapplication.h>
#include <kdemacros.h>

@ -21,6 +21,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************/
#undef None // Qt4
#include <tqcursor.h>
#include <tqfile.h>
#include <tqfontmetrics.h>

@ -26,7 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "tasklmbmenu.moc"
#include <tqpainter.h>
#include <tqstyle.h>
//#include <tqstyle.h>
#include <kdebug.h>
#include <kglobalsettings.h>

@ -374,12 +374,12 @@ Display the short name as is; store a long name when the short name is not all u
<variables>
<variable>bool m_hasChanged;</variable>
</variables>
<signals>
<Q_SIGNALS>
<signal>changed()</signal>
</signals>
<slots>
</Q_SIGNALS>
<Q_SLOTS>
<slot access="protected">changedSlot()</slot>
</slots>
</Q_SLOTS>
<functions>
<function returnType="bool">hasChanged()</function>
</functions>

@ -12,6 +12,7 @@
#include <tqdragobject.h>
#include <tqtoolbutton.h>
#include <tqvbox.h>
#include <tqapplication.h>
KonqSidebar_Tree::KonqSidebar_Tree(KInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name):
KonqSidebarPlugin(instance,parent,widgetParent,desktopName_,name)

@ -27,6 +27,7 @@
#include <tqkeycode.h>
#include <tqtimer.h>
#include <tqscrollbar.h>
#include <tqdragobject.h>
#include <kpopupmenu.h>

@ -30,6 +30,7 @@
#include <fixx11h.h>
// Qt
#undef FontChange // Qt4
#include <dcopclient.h>
#include <tqsocketnotifier.h>

@ -251,10 +251,10 @@ If you have a fast, new processor, you might want to turn them all on, but for t
<slot>slotEyeCandySliderMoved(int)</slot>
</connection>
</connections>
<slots>
<Q_SLOTS>
<slot>slotEyeCandyShowDetails(bool)</slot>
<slot>slotEyeCandySliderMoved(int)</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>

@ -207,12 +207,12 @@ Trinity allows you to customize its behavior according to your needs.</string>
<slot>slotMacDescription()</slot>
</connection>
</connections>
<slots>
<Q_SLOTS>
<slot>slotWindowsDescription()</slot>
<slot>slotKDEDescription()</slot>
<slot>slotMacDescription()</slot>
<slot>slotUnixDescription()</slot>
</slots>
</Q_SLOTS>
<includes>
<include location="local" impldecl="in implementation">kdialog.h</include>
</includes>

@ -155,10 +155,10 @@ For example "&lt;b&gt;Shift+Alt+(123) Shift+Ctrl+(ABC)&lt;/b&gt;" will first try
<slot>clearShortcut()</slot>
</connection>
</connections>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">editShortcut()</slot>
<slot access="protected" specifier="pure virtual">clearShortcut()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>

@ -2530,7 +2530,7 @@
<tabstop>rule_disableglobalshortcuts</tabstop>
<tabstop>disableglobalshortcuts</tabstop>
</tabstops>
<slots>
<Q_SLOTS>
<slot access="protected" specifier="pure virtual">detectClicked()</slot>
<slot access="protected" specifier="pure virtual">wmclassMatchChanged()</slot>
<slot access="protected" specifier="pure virtual">roleMatchChanged()</slot>
@ -2538,7 +2538,7 @@
<slot access="protected" specifier="pure virtual">extraMatchChanged()</slot>
<slot access="protected" specifier="pure virtual">machineMatchChanged()</slot>
<slot access="protected" specifier="pure virtual">shortcutEditClicked()</slot>
</slots>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>

Loading…
Cancel
Save