summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/test
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/test')
-rw-r--r--qtjava/javalib/test/AppWizardBase.java4
-rw-r--r--qtjava/javalib/test/FilePropsPageBase.java4
-rw-r--r--qtjava/javalib/test/ISBNValidator.java4
-rw-r--r--qtjava/javalib/test/ScribbleWindow.java28
-rw-r--r--qtjava/javalib/test/SignalForwarder.java4
-rw-r--r--qtjava/javalib/test/TQTimerTest.java32
6 files changed, 38 insertions, 38 deletions
diff --git a/qtjava/javalib/test/AppWizardBase.java b/qtjava/javalib/test/AppWizardBase.java
index 7eec9481..fcb04c79 100644
--- a/qtjava/javalib/test/AppWizardBase.java
+++ b/qtjava/javalib/test/AppWizardBase.java
@@ -181,8 +181,8 @@ AppWizardBase( TQWidget parent, String name, boolean modal, int fl )
addPage( privateWidget_2, tr( "Header" ) );
// signals and slots connections
- connect( loadheader_button, SIGNAL( "clicked()" ), this, SLOT( "slotLoadHeader()" ) );
- connect( newheader_button, SIGNAL( "clicked()" ), this, SLOT( "slotNewHeader()" ) );
+ connect( loadheader_button, TQ_SIGNAL( "clicked()" ), this, TQ_SLOT( "slotLoadHeader()" ) );
+ connect( newheader_button, TQ_SIGNAL( "clicked()" ), this, TQ_SLOT( "slotNewHeader()" ) );
// tab order
setTabOrder( loadheader_button, newheader_button );
diff --git a/qtjava/javalib/test/FilePropsPageBase.java b/qtjava/javalib/test/FilePropsPageBase.java
index d583a05b..48e79172 100644
--- a/qtjava/javalib/test/FilePropsPageBase.java
+++ b/qtjava/javalib/test/FilePropsPageBase.java
@@ -114,8 +114,8 @@ public FilePropsPageBase( TQWidget parent, String name, int fl )
grid.addWidget( desc_textview, 1, 1 );
// signals and slots connections
- connect( classname_edit, SIGNAL( "textChanged(String)" ), this, SLOT( "slotClassnameChanged(String)" ) );
- connect( classes_listbox, SIGNAL( "mouseButtonClicked(int,TQListBoxItem,TQPoint)" ), this, SLOT( "slotSelectionChanged()" ) );
+ connect( classname_edit, TQ_SIGNAL( "textChanged(String)" ), this, TQ_SLOT( "slotClassnameChanged(String)" ) );
+ connect( classes_listbox, TQ_SIGNAL( "mouseButtonClicked(int,TQListBoxItem,TQPoint)" ), this, TQ_SLOT( "slotSelectionChanged()" ) );
// tab order
setTabOrder( classes_listbox, classname_edit );
diff --git a/qtjava/javalib/test/ISBNValidator.java b/qtjava/javalib/test/ISBNValidator.java
index 1f03525e..1d909a10 100644
--- a/qtjava/javalib/test/ISBNValidator.java
+++ b/qtjava/javalib/test/ISBNValidator.java
@@ -148,8 +148,8 @@ public class ISBNValidator extends TQValidator
// set up a receiver for the returnPressed() signal
ReturnReceiver receiver = new ReturnReceiver();
- TQObject.connect( myedit, SIGNAL( "returnPressed()" ),
- receiver, SLOT( "slotReturnPressed()" ) );
+ TQObject.connect( myedit, TQ_SIGNAL( "returnPressed()" ),
+ receiver, TQ_SLOT( "slotReturnPressed()" ) );
myapp.setMainWidget( myedit );
myedit.show();
diff --git a/qtjava/javalib/test/ScribbleWindow.java b/qtjava/javalib/test/ScribbleWindow.java
index 33296e3d..fc040f17 100644
--- a/qtjava/javalib/test/ScribbleWindow.java
+++ b/qtjava/javalib/test/ScribbleWindow.java
@@ -42,7 +42,7 @@ public class ScribbleWindow extends TQWidget {
// create a pop-up menu
_popupmenu = new TQPopupMenu();
- _popupmenu.insertItem( "&Clear", this, SLOT( "slotClearArea()" ) );
+ _popupmenu.insertItem( "&Clear", this, TQ_SLOT( "slotClearArea()" ) );
}
/**
@@ -167,10 +167,10 @@ public class ScribbleWindow extends TQWidget {
/* The next lines build the menu bar. We first create the menus
* one by one, then add them to the menu bar. */
_filemenu = new TQPopupMenu(); // create a file menu
- _filemenu.insertItem( "&Load", this, SLOT( "slotLoad()" ) );
- _filemenu.insertItem( "&Save", this, SLOT( "slotSave()" ) );
+ _filemenu.insertItem( "&Load", this, TQ_SLOT( "slotLoad()" ) );
+ _filemenu.insertItem( "&Save", this, TQ_SLOT( "slotSave()" ) );
_filemenu.insertSeparator();
- _filemenu.insertItem( "&Quit", tqApp(), SLOT( "quit()" ) );
+ _filemenu.insertItem( "&Quit", tqApp(), TQ_SLOT( "quit()" ) );
_colormenu = new TQPopupMenu(); // create a color menu
_colormenu.insertItem( "B&lack", COLOR_MENU_ID_BLACK);
@@ -178,12 +178,12 @@ public class ScribbleWindow extends TQWidget {
_colormenu.insertItem( "&Blue", COLOR_MENU_ID_BLUE);
_colormenu.insertItem( "&Green", COLOR_MENU_ID_GREEN);
_colormenu.insertItem( "&Yellow", COLOR_MENU_ID_YELLOW);
- TQObject.connect( _colormenu, SIGNAL( "activated( int )" ),
- this, SLOT( "slotColorMenu( int )" ) );
+ TQObject.connect( _colormenu, TQ_SIGNAL( "activated( int )" ),
+ this, TQ_SLOT( "slotColorMenu( int )" ) );
_helpmenu = new TQPopupMenu(); // create a help menu
- _helpmenu.insertItem( "&About QtScribble", this, SLOT( "slotAbout()" ) );
- _helpmenu.insertItem( "&About Qt", this, SLOT( "slotAboutQt()" ) );
+ _helpmenu.insertItem( "&About QtScribble", this, TQ_SLOT( "slotAbout()" ) );
+ _helpmenu.insertItem( "&About Qt", this, TQ_SLOT( "slotAboutQt()" ) );
_menubar = new TQMenuBar( this, "" ); // create a menu bar
_menubar.insertItem( "&File", _filemenu );
@@ -198,12 +198,12 @@ public class ScribbleWindow extends TQWidget {
_scribblearea = new ScribbleArea();
_scribblearea.setGeometry( 0, 0, 1000, 1000 );
_scrollview.addChild( _scribblearea );
- TQObject.connect( this, SIGNAL( "colorChanged( TQColor )" ),
- _scribblearea, SLOT( "setColor( TQColor )" ) );
- TQObject.connect( this, SIGNAL( "save( String )" ),
- _scribblearea, SLOT( "slotSave( String )" ) );
- TQObject.connect( this, SIGNAL( "load(String)" ),
- _scribblearea, SLOT( "slotLoad( String )" ) );
+ TQObject.connect( this, TQ_SIGNAL( "colorChanged( TQColor )" ),
+ _scribblearea, TQ_SLOT( "setColor( TQColor )" ) );
+ TQObject.connect( this, TQ_SIGNAL( "save( String )" ),
+ _scribblearea, TQ_SLOT( "slotSave( String )" ) );
+ TQObject.connect( this, TQ_SIGNAL( "load(String)" ),
+ _scribblearea, TQ_SLOT( "slotLoad( String )" ) );
}
protected void resizeEvent( TQResizeEvent event )
diff --git a/qtjava/javalib/test/SignalForwarder.java b/qtjava/javalib/test/SignalForwarder.java
index 28d02560..1d6f2726 100644
--- a/qtjava/javalib/test/SignalForwarder.java
+++ b/qtjava/javalib/test/SignalForwarder.java
@@ -4,8 +4,8 @@ public class SignalForwarder extends TQDialog {
SignalForwarder() {
TQPushButton searchButton = new TQPushButton("Search", this);
- connect( searchButton, SIGNAL("clicked()"), this, SIGNAL("continueSearch()"));
- connect( this, SIGNAL("continueSearch()"), this, SLOT("slotContinueSearch()"));
+ connect( searchButton, TQ_SIGNAL("clicked()"), this, TQ_SIGNAL("continueSearch()"));
+ connect( this, TQ_SIGNAL("continueSearch()"), this, TQ_SLOT("slotContinueSearch()"));
}
public void slotContinueSearch()
diff --git a/qtjava/javalib/test/TQTimerTest.java b/qtjava/javalib/test/TQTimerTest.java
index c10af496..c68fe67e 100644
--- a/qtjava/javalib/test/TQTimerTest.java
+++ b/qtjava/javalib/test/TQTimerTest.java
@@ -44,7 +44,7 @@ public class TQTimerTest extends TQWidget {
// create a pop-up menu
_popupmenu = new TQPopupMenu();
- _popupmenu.insertItem( "&Clear", this, Qt.SLOT( "slotClearArea()" ) );
+ _popupmenu.insertItem( "&Clear", this, Qt.TQ_SLOT( "slotClearArea()" ) );
}
/**
@@ -170,10 +170,10 @@ public class TQTimerTest extends TQWidget {
/* The next lines build the menu bar. We first create the menus
* one by one, then add them to the menu bar. */
_filemenu = new TQPopupMenu(); // create a file menu
- _filemenu.insertItem( "&Load", this, Qt.SLOT( "slotLoad()" ) );
- _filemenu.insertItem( "&Save", this, Qt.SLOT( "slotSave()" ) );
+ _filemenu.insertItem( "&Load", this, Qt.TQ_SLOT( "slotLoad()" ) );
+ _filemenu.insertItem( "&Save", this, Qt.TQ_SLOT( "slotSave()" ) );
_filemenu.insertSeparator();
- _filemenu.insertItem( "&Quit", Qt.qApp(), Qt.SLOT( "quit()" ) );
+ _filemenu.insertItem( "&Quit", Qt.qApp(), Qt.TQ_SLOT( "quit()" ) );
_colormenu = new TQPopupMenu(); // create a color menu
_colormenu.insertItem( "B&lack", COLOR_MENU_ID_BLACK);
@@ -181,12 +181,12 @@ public class TQTimerTest extends TQWidget {
_colormenu.insertItem( "&Blue", COLOR_MENU_ID_BLUE);
_colormenu.insertItem( "&Green", COLOR_MENU_ID_GREEN);
_colormenu.insertItem( "&Yellow", COLOR_MENU_ID_YELLOW);
- TQObject.connect( _colormenu, SIGNAL( "activated(int)" ),
- this, SLOT( "slotColorMenu(int)" ) );
+ TQObject.connect( _colormenu, TQ_SIGNAL( "activated(int)" ),
+ this, TQ_SLOT( "slotColorMenu(int)" ) );
_helpmenu = new TQPopupMenu(); // create a help menu
- _helpmenu.insertItem( "&About QtScribble", this, SLOT( "slotAbout()" ) );
- _helpmenu.insertItem( "&About Qt", this, SLOT( "slotAboutQt()" ) );
+ _helpmenu.insertItem( "&About QtScribble", this, TQ_SLOT( "slotAbout()" ) );
+ _helpmenu.insertItem( "&About Qt", this, TQ_SLOT( "slotAboutQt()" ) );
_menubar = new TQMenuBar( this, "" ); // create a menu bar
_menubar.insertItem( "&File", _filemenu );
@@ -201,12 +201,12 @@ public class TQTimerTest extends TQWidget {
_scribblearea = new ScribbleArea();
_scribblearea.setGeometry( 0, 0, 1000, 1000 );
_scrollview.addChild( _scribblearea );
- TQObject.connect( this, SIGNAL( "colorChanged(TQColor)" ),
- _scribblearea, SLOT( "setColor(TQColor)" ) );
- TQObject.connect( this, SIGNAL( "save(java.lang.String)" ),
- _scribblearea, SLOT( "slotSave(java.lang.String)" ) );
- TQObject.connect( this, SIGNAL( "load(java.lang.String)" ),
- _scribblearea, SLOT( "slotLoad(java.lang.String)" ) );
+ TQObject.connect( this, TQ_SIGNAL( "colorChanged(TQColor)" ),
+ _scribblearea, TQ_SLOT( "setColor(TQColor)" ) );
+ TQObject.connect( this, TQ_SIGNAL( "save(java.lang.String)" ),
+ _scribblearea, TQ_SLOT( "slotSave(java.lang.String)" ) );
+ TQObject.connect( this, TQ_SIGNAL( "load(java.lang.String)" ),
+ _scribblearea, TQ_SLOT( "slotLoad(java.lang.String)" ) );
}
public void resizeEvent( TQResizeEvent event )
@@ -298,8 +298,8 @@ public class TQTimerTest extends TQWidget {
mywidget.setGeometry(50, 500, 400, 400);
TQTimer timer = new TQTimer( mywidget );
- connect( timer, Qt.SIGNAL("timeout()"),
- mywidget, Qt.SLOT("timerDone()") );
+ connect( timer, Qt.TQ_SIGNAL("timeout()"),
+ mywidget, Qt.TQ_SLOT("timerDone()") );
timer.start( 2000, false ); // 2 seconds single-shot
myapp.setMainWidget(mywidget);